Which trips exceeded their mileage allowance?

Why ask this?

A dispatch supervisor reviewing route allowances needs to see which trips exceeded their own allowance and by how many miles.

Start with the sample data

Open source.csv. In the first row of source.csv, Trip = A, Actual miles = 23, Allowed miles = 20.

What to say

List trips where actual miles exceeded allowed miles and list the extra miles.

Recorded with the Karen synthetic voice.

Processing time

Recorded audio to table ready
2.68 s
Transcript to table ready
0.44 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. Math · Calculate Extra miles

    Apply [Actual miles] - ([Allowed miles]) to each input row. Set Difference validation to Quantity. Choose Trip as the unique row identifier and select Actual miles and Allowed miles as the two numeric fields. Enter miles under Chart unit. Set Decimal places to 6 to round the result. Enter the result column name shown above and turn off “Keep the columns it reads.” Quantity validation checks numeric operands and a unique row identifier when the saved canvas runs. The first row yields 3.

  3. Measure Filter · Keep the requested rows

    The filter uses Extra miles > 0 in keep mode. 2 rows remain including A.

Native n0is canvas for Which trips exceeded their mileage allowance?

The result table

Workflow result in n0is
TripExtra miles
A3
C5

How to use the result

For Trip A, the sample reports Extra miles of 3.

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