Which sheds are above or below plan?

Why ask this?

During stock reconciliation, the team needs to see shortages, surpluses and balanced locations after repeated entries are combined.

Start with the sample data

Open source.csv. In the first row of source.csv, Shed = A, Counted units = 2, Expected units = 4.

What to say

Make a bar chart of net variance by shed. Add up counted units and expected units by shed first, then subtract expected from counted. Keep positive, negative and zero sheds.

Processing time

Recorded audio to chart ready
6.88 s
Transcript to chart ready
0.50 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
What n0is transcribed

Make a bar chart of net variance by shed. Add up counted units and expected units by shed first, then subtract expected from counted. Keep positive, negative, and zero sheds.

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. Aggregate · Sum Counted units, Sum Expected units for each Shed

    If a category appears more than once, its records contribute to one result. The first output row contains Shed = A, sum_Counted units = 2, sum_Expected units = 4.

  3. Math · Calculate Net variance

    Apply [sum_Counted units] - ([sum_Expected units]) to each input row. The first row yields -2.

  4. Charts · Draw the bar chart

    Use Shed for the categories and Net variance for the plotted values. In Display Options, enable Signed value axis to keep both sides of zero visible.

To reproduce the bar scale, select the chart on the canvas. In its settings, enable Signed value axis. Negative and positive values use opposite sides of zero.

Native n0is canvas for Which sheds are above or below plan?

The chart

Workflow result in n0is
ShedNet variance
A-2
B3
C0

How to use the result

For Shed A, the sample reports Net variance of -2.

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