Compare guests with available seats by venue
Why ask this?
Compare total guests with total available seats for each venue, even when individual records cover different amounts. Sum each field within its group, then divide the totals and multiply by 100. A group with a zero denominator has no percentage.
Start with the sample data
Open source.csv. In the first row of source.csv, Venue = East, Guests = 2, Listed Seats = 4, Available Seats = 2.
What to say
For each venue, chart total guests as a percentage of total seats.
Recorded with the Karen synthetic voice.
Processing time
- Recorded audio to chart ready
- 3.60 s
- Transcript to chart ready
- 0.48 ms
One local replay from recorded audio through transcription and native chart data preparation. Includes processing of the clarification and reply. Time waiting for a person to answer is excluded. Recording time and screen painting are excluded.
See the transcript in the composer

When n0is asks
Which quantity column should I divide by?
- Listed Seats
- Available Seats
Available Seats.
How the canvas produces the result
- CSV Input · Read the sample records
source.csv supplies 3 rows. These records are the inputs to the next step.
- Aggregate · Sum Guests, Sum Available Seats for each Venue
If a category appears more than once, its records contribute to one result. The first output row contains Venue = East, sum_Guests = 3, sum_Available Seats = 6.
- Measure Filter · Keep the requested rows
The filter uses sum_Available Seats != 0 in keep mode. 2 rows remain including East.
- Math · Calculate Guests as % of Available Seats
Apply 100 * [sum_Guests] / [sum_Available Seats] to each input row. Set Decimal places to 2 to round the result. The first row yields 50.
- Charts · Draw the bar chart
Use Venue for the categories and Guests as % of Available Seats for the plotted values. In Display Options, enable Signed value axis to keep both sides of zero visible.
To reproduce the bar scale, select the chart on the canvas. In its settings, enable Signed value axis. Negative and positive values use opposite sides of zero.

The chart

| Venue | Guests as % of Available Seats |
|---|---|
| East | 50 |
| West | 50 |
How to use the result
For Venue East, the sample reports Guests as % of Available Seats of 50.
Synthetic test audio. Screenshots from the recorded workflow in n0is.