Where do returning drivers make the fewest visits?
Why ask this?
A dispatcher planning check-in support wants to estimate how many depot arrivals come from drivers who know that depot. Weight each driver by the number of recorded arrivals there.
Start with the sample data
Open source.csv. In the first row of source.csv, Depot = Oak, Driver = 0.
What to say
Create a bar chart of the bottom two depots by percentage of identified visits made by returning drivers. Exclude visits with missing identifiers.
Processing time
- Recorded audio to chart ready
- 5.95 s
- Transcript to chart ready
- 0.45 ms
One local replay from recorded audio through transcription and native chart data preparation. Recording time and screen painting are excluded.
See the transcript in the composer

How the canvas produces the result
- CSV Input · Read the sample records
source.csv supplies 6 rows. These records are the inputs to the next step.
- Aggregate · Count populated values in Driver for each Depot, Driver
If a category appears more than once, its records contribute to one result. The first output row contains Depot = Oak, Driver = 0, nonblank_Driver = 2.
- Math · Calculate visits_Driver
Apply [nonblank_Driver] to each input row. The first row yields 2.
- Find / Replace · Count visits from returning identifiers
A count of zero or one contributes zero visits to the numerator. For an identifier seen twice or more, keep all of its visits. The copy made by Math still contains the total before this change.
- Aggregate · Sum nonblank_Driver, Sum visits_Driver for each Depot
If a category appears more than once, its records contribute to one result. The first output row contains Depot = Oak, sum_nonblank_Driver = 2, sum_visits_Driver = 3.
- Measure Filter · Keep the requested rows
The filter uses sum_visits_Driver > 0 in keep mode. 3 rows remain including Oak.
- Math · Calculate Visits by returning drivers (%)
Apply 100 * [sum_nonblank_Driver] / [sum_visits_Driver] to each input row. The first row yields 66.666667.
- Sort · Order the results
Sort by Visits by returning drivers (%) (ascending), then Depot (ascending). The first rows in order are Elm → Oak → Bay.
- Rank · Assign a rank
The ordered rows receive positions starting at 1. Here, Elm is #1, Oak is #2, Bay is #3.
- Measure Filter · Keep the requested rows
The filter uses rank <= 2 in keep mode. 2 rows remain including Elm.
- Column Renamer · Prepare the output columns
Remove rank. The result exposes Depot, Visits by returning drivers (%).
- Charts · Draw the bar chart
Use Depot for the categories and Visits by returning drivers (%) for the plotted values.

The chart

| Depot | Visits by returning drivers (%) |
|---|---|
| Elm | 0 |
| Oak | 66.666667 |
How to use the result
For Depot Elm, the sample reports Visits by returning drivers (%) of 0.
Synthetic test audio. Screenshots from the recorded workflow in n0is.