Which kiosks see users one to four times?
Why ask this?
A service manager comparing occasional kiosk usage needs to include identified users seen once through four times. Kiosks with repeated activity by the same user count that person once.
Start with the sample data
Open source.csv. In the first row of source.csv, Kiosk = North, User = A.
What to say
Show the top two kiosks by users with between one and four visits as a bar chart.
Processing time
- Recorded audio to chart ready
- 3.32 s
- Transcript to chart ready
- 0.43 ms
One local replay from recorded audio through transcription and native chart 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 5 rows. These records are the inputs to the next step.
- Aggregate · Count populated values in User for each Kiosk, User
If a category appears more than once, its records contribute to one result. The first output row contains Kiosk = North, User = A, nonblank_User = 1.
- Find / Replace · Clear values matching the saved expression
Find & Replace applies ^(?!(?:1|2|3|4)$)[0-9]+$ to nonblank_User. For example, Kiosk = North, User = , nonblank_User = 0 has its nonblank_User value cleared.
- Aggregate · Count populated values in nonblank_User for each Kiosk
If a category appears more than once, its records contribute to one result. The first output row contains Kiosk = North, nonblank_nonblank_User = 1.
- Column Renamer · Prepare the output columns
nonblank_nonblank_User becomes Users with 1 to 4 visits. The result exposes Kiosk, Users with 1 to 4 visits.
- Sort · Order the results
Sort by Users with 1 to 4 visits (descending), then Kiosk (ascending). The first rows in order are South → North.
- Rank · Assign a rank
The ordered rows receive positions starting at 1. Here, South is #1, North is #2.
- Measure Filter · Keep the requested rows
The filter uses rank <= 2 in keep mode. 2 rows remain including South.
- Column Renamer · Prepare the output columns
Remove rank. The result exposes Kiosk, Users with 1 to 4 visits.
- Charts · Draw the bar chart
Use Kiosk for the categories and Users with 1 to 4 visits for the plotted values.

The chart

| Kiosk | Users with 1 to 4 visits |
|---|---|
| South | 2 |
| North | 1 |
How to use the result
For Kiosk South, the sample reports Users with 1 to 4 visits of 2.
Synthetic test audio. Screenshots from the recorded workflow in n0is.