Which stores have the lowest total sales?
Why ask this?
A sales manager wants to compare store totals using the Sales column. The source also includes a forecast, so selecting the exact field matters for this review.
Start with the sample data
Open source.csv. In the first row of source.csv, Store = X, Sales = -2, Forecast sales = 8.
What to say
Create a bar chart of the bottom two stores by total sales.
Processing time
- Recorded audio to chart ready
- 2.33 s
- Transcript to chart ready
- 0.37 ms
One local replay from recorded audio through transcription and native chart data preparation. Recording time and screen painting are excluded.
“Bottom two” sets the size of the shortlist. “By total sales” tells n0is to combine records for each store before comparing them.
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.
- Aggregate · Sum Sales for each Store
If a category appears more than once, its records contribute to one result. The first output row contains Store = X, sum_Sales = -2.
- Sort · Order the results
Sort by sum_Sales (ascending), then Store (ascending). The first rows in order are X → Z → Y.
- Rank · Assign a rank
The ordered rows receive positions starting at 1. Here, X is #1, Z is #2, Y is #3.
- Measure Filter · Keep the requested rows
The filter uses rank <= 2 in keep mode. 2 rows remain including X.
- Column Renamer · Prepare the output columns
Remove rank. The result exposes Store, sum_Sales.
- Charts · Draw the bar chart
Use Store for the categories and sum_Sales for the plotted values.

The chart

| Store | sum_Sales |
|---|---|
| X | -2 |
| Z | 0 |
How to use the result
For Store X, the sample reports total Sales of -2.
Synthetic test audio. Screenshots from the recorded workflow in n0is.