Which crews have a positive balance?

Why ask this?

Before ordering more boxes, a shipping lead needs to know whether extra shipments on one job cover shortages on another within the same group.

Start with the sample data

Open source.csv. In the first row of source.csv, Crew = A, Requested boxes = 9, Shipped boxes = 4.

What to say

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

Processing time

Recorded audio to chart ready
6.25 s
Transcript to chart ready
0.46 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 Crew

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

  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 Crew for the categories and Net shortfall for the plotted values.

Native n0is canvas for Which crews have a positive balance?

The chart

Workflow result in n0is
CrewNet shortfall
A1
C4

How to use the result

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

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