Zero margin across depots
Why ask this?
A manager reviewing profitability needs to see which locations keep the largest share of revenue and which are running at a loss.
Start with the sample data
Open source.csv. In the first row of source.csv, Depot = North, Profit = 2, Revenue = 10.
What to say
Create a bar chart of net margin by depot. Divide total profit by total revenue and show it as a percentage. Skip zero revenue rows.
Processing time
- Recorded audio to chart ready
- 5.61 s
- Transcript to chart ready
- 0.44 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 3 rows. These records are the inputs to the next step.
- Period comparison · 100 × Total Profit / total Revenue by Depot
The first output row contains Depot = North, Net margin percent = 0.
- Charts · Draw the bar chart
Use Depot for the categories and Net margin percent for the plotted values.
Canvas review in progress for Period comparison. The recording verifies the result. Rebuilding these steps from the left panel still needs verification.

The chart

| Depot | Net margin percent |
|---|---|
| North | 0 |
| South | 0 |
How to use the result
For Depot North, the sample reports Net margin percent of 0.
Synthetic test audio. Screenshots from the recorded workflow in n0is.