Revenue per liter by store

Why ask this?

A retail analyst comparing stores wants to know how much revenue each liter earns, taking the volume sold into account.

Start with the sample data

Open source.csv. In the first row of source.csv, Store = East, Liters = 0.25, Revenue = 2.

What to say

Make a bar chart of average revenue per liter by store. Divide total revenue by total liters, ignoring rows with zero liters.

Processing time

Recorded audio to chart ready
5.36 s
Transcript to chart ready
0.40 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 composerRecorded transcript entered in the native composer

How the canvas produces the result

  1. CSV Input · Read the sample records

    source.csv supplies 3 rows. These records are the inputs to the next step.

  2. Measure Filter · Keep the requested rows

    The filter uses Liters > 0 in keep mode. 3 rows remain including East.

  3. Aggregate · Sum Revenue, Sum Liters for each Store

    If a category appears more than once, its records contribute to one result. The first output row contains Store = East, sum_Revenue = 5, sum_Liters = 1.

  4. Math · Calculate Average revenue per liter

    Apply [sum_Revenue] / [sum_Liters] to each input row. Set Decimal places to 2 to round the result. The first row yields 5.

  5. Charts · Draw the bar chart

    Use Store for the categories and Average revenue per liter for the plotted values.

Native n0is canvas for Revenue per liter by store

The chart

Workflow result in n0is
StoreAverage revenue per liter
East5
West4.5

How to use the result

For Store East, the sample reports Average revenue per liter of 5.

Synthetic test audio. Screenshots from the recorded workflow in n0is.