Cost per unit · choose cost
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, Team = A, Units = 2, Booked cost = 9, Actual cost = 2.
What to say
Show a bar chart of average cost per unit by team. Divide total cost by total units, ignoring rows with zero units.
Processing time
- Recorded audio to chart ready
- 5.96 s
- Transcript to chart ready
- 0.49 ms
One local replay from recorded audio through transcription and native chart data preparation. Includes processing of the clarification and reply. Time waiting for a person to answer is excluded. Recording time and screen painting are excluded.
See the transcript in the composer

When n0is asks
Which amount column should I use?
- Booked cost
- Actual cost
Actual cost.
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.
- Measure Filter · Keep the requested rows
The filter uses Units > 0 in keep mode. 3 rows remain including A.
- Aggregate · Sum Actual cost, Sum Units for each Team
If a category appears more than once, its records contribute to one result. The first output row contains Team = A, sum_Actual cost = 12, sum_Units = 6.
- Math · Calculate Average cost per unit
Apply [sum_Actual cost] / [sum_Units] to each input row. Set Decimal places to 2 to round the result. The first row yields 2.
- Charts · Draw the bar chart
Use Team for the categories and Average cost per unit for the plotted values.

The chart

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