Where are the fewest drivers returning?

Why ask this?

A dispatcher comparing familiarity with depot procedures wants the percentage of different drivers who came back to each depot. A single driver making many deliveries contributes only one person to the calculation.

Start with the sample data

Open source.csv. In the first row of source.csv, Depot = A, Driver = 0.

What to say

Show the bottom two depots by percentage of identified drivers who returned as a bar chart. Skip groups with no identified drivers.

Processing time

Recorded audio to chart ready
5.29 s
Transcript to chart ready
0.46 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 composerRecorded transcript entered in the native composer

How the canvas produces the result

  1. CSV Input · Read the sample records

    source.csv supplies 7 rows. These records are the inputs to the next step.

  2. 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 = A, Driver = 0, nonblank_Driver = 2.

  3. Find / Replace · Mark identifiers that appeared fewer than twice

    In nonblank_Driver, clear counts of zero or one. Counts of two or more stay populated. The next count can include each returning identifier once while keeping every location in the table.

  4. Aggregate · Count populated values in nonblank_Driver, Count populated values in Driver for each Depot

    If a category appears more than once, its records contribute to one result. The first output row contains Depot = A, nonblank_nonblank_Driver = 1, nonblank_Driver = 1.

  5. Measure Filter · Keep the requested rows

    The filter uses nonblank_Driver > 0 in keep mode. 3 rows remain including A.

  6. Math · Calculate Returning drivers (%)

    Apply 100 * [nonblank_nonblank_Driver] / [nonblank_Driver] to each input row. The first row yields 100.

  7. Sort · Order the results

    Sort by Returning drivers (%) (ascending), then Depot (ascending). The first rows in order are B → C → A.

  8. Rank · Assign a rank

    The ordered rows receive positions starting at 1. Here, B is #1, C is #2, A is #3.

  9. Measure Filter · Keep the requested rows

    The filter uses rank <= 2 in keep mode. 2 rows remain including B.

  10. Column Renamer · Prepare the output columns

    Remove rank. The result exposes Depot, Returning drivers (%).

  11. Charts · Draw the bar chart

    Use Depot for the categories and Returning drivers (%) for the plotted values.

Native n0is canvas for Where are the fewest drivers returning?

The chart

Workflow result in n0is
DepotReturning drivers (%)
B0
C50

How to use the result

For Depot B, the sample reports Returning drivers (%) of 0.

Synthetic test audio. Screenshots from the recorded workflow in n0is.