Which depots handled the most repairs?
Why ask this?
A maintenance lead allocating technicians wants the number of repairs completed at each location. Combining work orders first gives each location one total to compare.
Start with the sample data
Open source.csv. In the first row of source.csv, Depot = Elm, Repairs = 4.
What to say
Build a bar chart of the top two depots by total repairs.
Processing time
- Recorded audio to chart ready
- 2.32 s
- Transcript to chart ready
- 0.43 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 4 rows. These records are the inputs to the next step.
- Aggregate · Sum Repairs for each Depot
If a category appears more than once, its records contribute to one result. The first output row contains Depot = Elm, sum_Repairs = 7.
- Sort · Order the results
Sort by sum_Repairs (descending), then Depot (ascending). The first rows in order are Elm → Bay → Hill.
- Rank · Assign a rank
The ordered rows receive positions starting at 1. Here, Elm is #1, Bay is #2, Hill 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, sum_Repairs.
- Charts · Draw the bar chart
Use Depot for the categories and sum_Repairs for the plotted values.

The chart

| Depot | sum_Repairs |
|---|---|
| Elm | 7 |
| Bay | 5 |
How to use the result
For Depot Elm, the sample reports total Repairs of 7.
Synthetic test audio. Screenshots from the recorded workflow in n0is.