Largest order per warehouse

Why ask this?

A dispatcher has time to chase one outstanding order per warehouse. Comparing the unfilled quantities gives each warehouse a specific order to follow up.

Start with the sample data

Open source.csv. In the first row of source.csv, Warehouse = E, Order = 12, Outstanding = 6.

What to say

For each warehouse, find the order with the most outstanding units. If orders tie, pick the lower order number.

Processing time

Recorded audio to table ready
4.50 s
Transcript to table ready
0.47 ms

One local replay from recorded audio through transcription and native table 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. Sort · Order the results

    Sort by Warehouse (ascending), then Outstanding (descending), then Order (ascending). The first rows in order are E → E → W.

  3. Unique Filter · Keep the first row for each Warehouse

    Read the rows in order and keep the first occurrence of each Warehouse value. The first retained record has Warehouse = E, Order = 4, Outstanding = 6.

  4. Math · Store Order as a number

    The CSV supplies text. Math reads the Order field and writes its numeric value into the same column.

  5. Math · Store Outstanding as a number

    The CSV supplies text. Math reads the Outstanding field and writes its numeric value into the same column.

Native n0is canvas for Largest order per warehouse

The result table

Workflow result in n0is
WarehouseOrderOutstanding
E46
W32

How to use the result

One record to review is Warehouse = E, Order = 4, Outstanding = 6. Follow the canvas steps above to trace that row back to its inputs.

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