Where are shipments held longest on average?
Why ask this?
A shipping lead deciding where to investigate delays wants to compare the average time shipments spend on hold at each warehouse.
Start with the sample data
Open source.csv. In the first row of source.csv, Warehouse = Lake, Hold hours = 0.
What to say
Make a bar chart of the top two warehouses by average hold hours.
Processing time
- Recorded audio to chart ready
- 3.77 s
- Transcript to chart ready
- 0.50 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 · Average Hold hours for each Warehouse
If a category appears more than once, its records contribute to one result. The first output row contains Warehouse = Lake, avg_Hold hours = 4.
- Sort · Order the results
Sort by avg_Hold hours (descending), then Warehouse (ascending). The first rows in order are Pine → Lake → Elm.
- Rank · Assign a rank
The ordered rows receive positions starting at 1. Here, Pine is #1, Lake is #2, Elm is #3.
- Measure Filter · Keep the requested rows
The filter uses rank <= 2 in keep mode. 2 rows remain including Pine.
- Column Renamer · Prepare the output columns
Remove rank. The result exposes Warehouse, avg_Hold hours.
- Charts · Draw the bar chart
Use Warehouse for the categories and avg_Hold hours for the plotted values.

The chart

| Warehouse | avg_Hold hours |
|---|---|
| Pine | 6 |
| Lake | 4 |
How to use the result
For Warehouse Pine, the sample reports average Hold hours of 6.
Synthetic test audio. Screenshots from the recorded workflow in n0is.