Compare visitors with installed seats

Why ask this?

Compare total visitors with total installed seats for each hall, 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, Hall = East, Visitors = 2, Booked Seats = 4, Installed Seats = 2.

What to say

For each hall, chart total visitors as a percentage of total seats.

Recorded with the Karen synthetic voice.

Processing time

Recorded audio to chart ready
3.52 s
Transcript to chart ready
0.69 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 composerRecorded transcript entered in the native composer

When n0is asks

Which quantity column should I divide by?

Option two.

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. Aggregate · Sum Visitors, Sum Installed Seats for each Hall

    If a category appears more than once, its records contribute to one result. The first output row contains Hall = East, sum_Visitors = 3, sum_Installed Seats = 6.

  3. Measure Filter · Keep the requested rows

    The filter uses sum_Installed Seats != 0 in keep mode. 2 rows remain including East.

  4. Math · Calculate Visitors as % of Installed Seats

    Apply 100 * [sum_Visitors] / [sum_Installed Seats] to each input row. Set Decimal places to 2 to round the result. The first row yields 50.

  5. Charts · Draw the bar chart

    Use Hall for the categories and Visitors as % of Installed 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.

Native n0is canvas for Compare visitors with installed seats

The chart

Workflow result in n0is
HallVisitors as % of Installed Seats
East50
West50

How to use the result

For Hall East, the sample reports Visitors as % of Installed Seats of 50.

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