Largest order per warehouse
Why ask this?
A dispatcher has time to chase one outstanding order per warehouse. Comparing the unfilled quantities gives each warehouse a specific order to follow up.
Start with the sample data
Open source.csv. In the first row of source.csv, Warehouse = E, Order = 12, Outstanding = 6.
What to say
For each warehouse, find the order with the most outstanding units. If orders tie, pick the lower order number.
Processing time
- Recorded audio to table ready
- 4.50 s
- Transcript to table ready
- 0.47 ms
One local replay from recorded audio through transcription and native table 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 3 rows. These records are the inputs to the next step.
- Sort · Order the results
Sort by Warehouse (ascending), then Outstanding (descending), then Order (ascending). The first rows in order are E → E → W.
- Unique Filter · Keep the first row for each Warehouse
Read the rows in order and keep the first occurrence of each Warehouse value. The first retained record has Warehouse = E, Order = 4, Outstanding = 6.
- Math · Store Order as a number
The CSV supplies text. Math reads the Order field and writes its numeric value into the same column.
- Math · Store Outstanding as a number
The CSV supplies text. Math reads the Outstanding field and writes its numeric value into the same column.

The result table

| Warehouse | Order | Outstanding |
|---|---|---|
| E | 4 | 6 |
| W | 3 | 2 |
How to use the result
One record to review is Warehouse = E, Order = 4, Outstanding = 6. Follow the canvas steps above to trace that row back to its inputs.
Synthetic test audio. Screenshots from the recorded workflow in n0is.