Which branches see returning visitors?
Why ask this?
A branch manager wants to compare repeat foot traffic across locations. Three visits by one person count as one returning visitor at that branch. Seeing the same person once at each of two branches does not qualify them at either.
Start with the sample data
Open source.csv. In the first row of source.csv, Branch = East, Visitor = A.
What to say
Create a bar chart of the top three branches by returning visitors.
Processing time
- Recorded audio to chart ready
- 2.66 s
- Transcript to chart ready
- 0.41 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 14 rows. These records are the inputs to the next step.
- Aggregate · Count populated values in Visitor for each Branch, Visitor
If a category appears more than once, its records contribute to one result. The first output row contains Branch = East, Visitor = A, nonblank_Visitor = 5.
- Find / Replace · Mark identifiers that appeared fewer than twice
In nonblank_Visitor, clear counts of zero or one. Counts of two or more stay populated. The next count can include each returning identifier once while keeping every location in the table.
- Aggregate · Count populated values in nonblank_Visitor for each Branch
If a category appears more than once, its records contribute to one result. The first output row contains Branch = East, nonblank_nonblank_Visitor = 1.
- Column Renamer · Prepare the output columns
nonblank_nonblank_Visitor becomes Returning visitors. The result exposes Branch, Returning visitors.
- Sort · Order the results
Sort by Returning visitors (descending), then Branch (ascending). The first rows in order are East → West → North → South.
- Rank · Assign a rank
The ordered rows receive positions starting at 1. Here, East is #1, West is #2, North is #3.
- Measure Filter · Keep the requested rows
The filter uses rank <= 3 in keep mode. 3 rows remain including East.
- Column Renamer · Prepare the output columns
Remove rank. The result exposes Branch, Returning visitors.
- Charts · Draw the bar chart
Use Branch for the categories and Returning visitors for the plotted values.

The chart

| Branch | Returning visitors |
|---|---|
| East | 1 |
| West | 1 |
| North | 0 |
How to use the result
For Branch East, the sample reports Returning visitors of 1.
Synthetic test audio. Screenshots from the recorded workflow in n0is.