What does each hangar spend per unit?
Why ask this?
A buyer comparing plant costs needs a per-unit figure that reflects actual volume. A small expensive batch should contribute only its share of units.
Start with the sample data
Open source.csv. In the first row of source.csv, Hangar = A, Cost = 1, Units = 3.
What to say
Show a bar chart of average cost per unit by hangar. Divide total cost by total units, ignoring rows with zero units.
Processing time
- Recorded audio to chart ready
- 5.06 s
- Transcript to chart ready
- 0.43 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 2 rows. These records are the inputs to the next step.
- Measure Filter · Keep the requested rows
The filter uses Units > 0 in keep mode. 2 rows remain including A.
- Aggregate · Sum Cost, Sum Units for each Hangar
If a category appears more than once, its records contribute to one result. The first output row contains Hangar = A, sum_Cost = 1, sum_Units = 3.
- Math · Calculate Average cost per unit
Apply [sum_Cost] / [sum_Units] to each input row. Set Decimal places to 2 to round the result. The first row yields 0.33.
- Charts · Draw the bar chart
Use Hangar for the categories and Average cost per unit for the plotted values. In Display Options, enable Two decimal places for the value labels.
For the chart labels, select Charts on the canvas and enable Two decimal places. A result of 2 then displays as 2.00.

The chart

| Hangar | Average cost per unit |
|---|---|
| A | 0.33 |
| B | 0.67 |
How to use the result
For Hangar A, the sample reports Average cost per unit of 0.33.
Synthetic test audio. Screenshots from the recorded workflow in n0is.