Net shortfall by depot

Why ask this?

Before arranging the next shipment, a coordinator needs a list of depots still short after combining shipments. The remaining quantity tells the coordinator how much to follow up on.

Start with the sample data

Open source.csv. In the first row of source.csv, Depot = A, Requested boxes = 8, Shipped boxes = 5.

What to say

Create a bar chart of net shortfall by depot. Add up requested boxes and shipped boxes by depot first, then subtract shipped from requested and keep only depots above zero.

Processing time

Recorded audio to chart ready
6.59 s
Transcript to chart ready
0.45 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 4 rows. These records are the inputs to the next step.

  2. Aggregate · Sum Requested boxes, Sum Shipped boxes for each Depot

    If a category appears more than once, its records contribute to one result. The first output row contains Depot = A, sum_Requested boxes = 11, sum_Shipped boxes = 10.

  3. Math · Calculate Net shortfall

    Apply [sum_Requested boxes] - ([sum_Shipped boxes]) to each input row. The first row yields 1.

  4. Measure Filter · Keep the requested rows

    The filter uses Net shortfall > 0 in keep mode. 2 rows remain including A.

  5. Charts · Draw the bar chart

    Use Depot for the categories and Net shortfall for the plotted values.

Canvas review in progress for Math. The recording verifies the result. Rebuilding these steps from the left panel still needs verification.

Native n0is canvas for Net shortfall by depot

The chart

Workflow result in n0is
DepotNet shortfall
A1
C3

How to use the result

For Depot A, the sample reports Net shortfall of 1.

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