Which hall is closest to its seat limit?
Why ask this?
An event coordinator wants the hall closest to filling up while it is still within its seat limit. If every hall is already over capacity, the exception table is empty.
Start with the sample data
Open source.csv. In the first row of source.csv, Hall = A, Seats = 15, Limit = 10.
What to say
Which hall is closest to its seats limit without going over? Show its remaining seats.
Recorded with the Samantha synthetic voice.
Processing time
- Recorded audio to table ready
- 3.35 s
- Transcript to table ready
- 0.48 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 composer

How the canvas produces the result
- CSV Input · Read the sample records
source.csv supplies 2 rows. These records are the inputs to the next step.
- Math · Calculate Remaining seats
Apply [Limit] - ([Seats]) to each input row. Set Difference validation to Quantity. Choose Hall as the unique row identifier and select Limit and Seats as the two numeric fields. Enter seats 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 -5.
- Measure Filter · Keep the requested rows
The filter uses Remaining seats >= 0 in keep mode. 0 rows remain.
- Sort · Order the results
Sort by Remaining seats (numeric ascending).
- Limit rows · Keep the first row
Set Rows to 1. Leave off “Take from the end.” Leave “Skip blanks in” empty.

The result table

| Hall | Remaining seats |
|---|
How to use the result
No rows met the request on this sample. Check the filter and source records on the canvas before following up on an exception.
Synthetic test audio. Screenshots from the recorded workflow in n0is.