Which stores handle the most different orders?
Why ask this?
A fulfillment lead needs to see how many different orders each store handled. Multiple line items on one order count once at that store.
Start with the sample data
Open source.csv. In the first row of source.csv, Store = Oak, Order = 10.
What to say
Show the top two stores by distinct orders as a bar chart, breaking ties alphabetically.
Processing time
- Recorded audio to chart ready
- 3.64 s
- Transcript to chart ready
- 0.39 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 5 rows. These records are the inputs to the next step.
- Unique Filter · Keep the first row for each Store, Order
Read the rows in order and keep the first occurrence of each Store, Order value. The first retained record has Store = Oak, Order = 10.
- Aggregate · Count populated values in Order for each Store
If a category appears more than once, its records contribute to one result. The first output row contains Store = Oak, nonblank_Order = 1.
- Column Renamer · Prepare the output columns
nonblank_Order becomes distinct_Order. The result exposes Store, distinct_Order.
- Sort · Order the results
Sort by distinct_Order (descending), then Store (ascending). The first rows in order are Pine → Ash → Oak.
- Rank · Assign a rank
The ordered rows receive positions starting at 1. Here, Pine is #1, Ash is #2, Oak 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 Store, distinct_Order.
- Charts · Draw the bar chart
Use Store for the categories and distinct_Order for the plotted values.

The chart

| Store | distinct_Order |
|---|---|
| Pine | 2 |
| Ash | 1 |
How to use the result
For Store Pine, the sample reports distinct_Order of 2.
Synthetic test audio. Screenshots from the recorded workflow in n0is.