Depot shortfalls

Why ask this?

Before arranging the next shipment, a coordinator needs a list of depots with shortages on individual orders. 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, Order = A, Depot = Red, Requested boxes = 6, Shipped boxes = 4.

What to say

Make a bar chart of total shortfall by depot. Subtract shipped boxes from requested boxes for each order, keep only positive shortfalls, then sum them by depot.

Processing time

Recorded audio to chart ready
6.28 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
What n0is transcribed

Make a bar chart of total shortfall by depot. Subtract shipped boxes from requested boxes for each order. Keep only positive shortfalls. Then sum them by depot.

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. Math · Calculate Shortfall

    Apply [Requested boxes] - ([Shipped boxes]) to each input row. The first row yields 2.

  3. Measure Filter · Keep the requested rows

    The filter uses Shortfall > 0 in keep mode. 3 rows remain including A.

  4. Aggregate · Sum Shortfall for each Depot

    If a category appears more than once, its records contribute to one result. The first output row contains Depot = Red, sum_Shortfall = 3.

  5. Column Renamer · Prepare the output columns

    sum_Shortfall becomes Total shortfall. The result exposes Depot, Total shortfall.

  6. Charts · Draw the bar chart

    Use Depot for the categories and Total 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 Depot shortfalls

The chart

Workflow result in n0is
DepotTotal shortfall
Red3
Blue3

How to use the result

For Depot Red, the sample reports Total shortfall of 3.

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