Net delivery shortfall

Why ask this?

Before arranging the next shipment, a coordinator needs a list of sites that still need a delivery after overages and shortages offset. 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, Site = A, Ordered cases = 8, Delivered cases = 3.

What to say

Create a bar chart of net shortfall by site. Add up ordered cases and delivered cases by site first, then subtract delivered from ordered and keep only sites above zero.

Processing time

Recorded audio to chart ready
6.39 s
Transcript to chart ready
0.44 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. Aggregate · Sum Ordered cases, Sum Delivered cases for each Site

    If a category appears more than once, its records contribute to one result. The first output row contains Site = A, sum_Ordered cases = 10, sum_Delivered cases = 7.

  3. Math · Calculate Net shortfall

    Apply [sum_Ordered cases] - ([sum_Delivered cases]) to each input row. The first row yields 3.

  4. Measure Filter · Keep the requested rows

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

  5. Charts · Draw the bar chart

    Use Site 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 delivery shortfall

The chart

Workflow result in n0is
SiteNet shortfall
A3

How to use the result

For Site A, the sample reports Net shortfall of 3.

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