Which clinics see the highest share of returning patients?
Why ask this?
A clinic coordinator comparing follow-up patterns needs to choose which patient identifier represents the population. A clinic with no identified patients has no percentage to compare.
Start with the sample data
Open source.csv. In the first row of source.csv, Clinic = East, Registered Patient = A, Active Patient = 0.
What to say
Make a bar chart of the top two clinics by percentage of identified patients who returned. Skip groups with no identified patients.
Processing time
- Recorded audio to chart ready
- 6.33 s
- Transcript to chart ready
- 0.49 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 patients column should I use for the ranking?
- Registered Patient
- Active Patient
Active Patient.
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 Active Patient for each Clinic, Active Patient
If a category appears more than once, its records contribute to one result. The first output row contains Clinic = East, Active Patient = 0, nonblank_Active Patient = 2.
- Find / Replace · Mark identifiers that appeared fewer than twice
In nonblank_Active Patient, 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_Active Patient, Count populated values in Active Patient for each Clinic
If a category appears more than once, its records contribute to one result. The first output row contains Clinic = East, nonblank_nonblank_Active Patient = 1, nonblank_Active Patient = 1.
- Measure Filter · Keep the requested rows
The filter uses nonblank_Active Patient > 0 in keep mode. 2 rows remain including East.
- Math · Calculate Returning active patients (%)
Apply 100 * [nonblank_nonblank_Active Patient] / [nonblank_Active Patient] to each input row. The first row yields 100.
- Sort · Order the results
Sort by Returning active patients (%) (descending), then Clinic (ascending). The first rows in order are East → West.
- Rank · Assign a rank
The ordered rows receive positions starting at 1. Here, East is #1, West is #2.
- Measure Filter · Keep the requested rows
The filter uses rank <= 2 in keep mode. 2 rows remain including East.
- Column Renamer · Prepare the output columns
Remove rank. The result exposes Clinic, Returning active patients (%).
- Charts · Draw the bar chart
Use Clinic for the categories and Returning active patients (%) for the plotted values.

The chart

| Clinic | Returning active patients (%) |
|---|---|
| East | 100 |
| West | 0 |
How to use the result
For Clinic East, the sample reports Returning active patients (%) of 100.
Synthetic test audio. Screenshots from the recorded workflow in n0is.