How much clinic traffic is follow-up work?
Why ask this?
A clinic coordinator estimating follow-up workload needs the correct patient identifier. One patient with three recorded appointments contributes two visits after the first.
Start with the sample data
Open source.csv. In the first row of source.csv, Clinic = Sky, Patient = A.
What to say
Please show the top two clinics by percentage of identified visits after the first visit per patient as a bar chart.
Processing time
- Recorded audio to chart ready
- 5.46 s
- Transcript to chart ready
- 0.53 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 7 rows. These records are the inputs to the next step.
- Aggregate · Count populated values in Patient for each Clinic, Patient
If a category appears more than once, its records contribute to one result. The first output row contains Clinic = Sky, Patient = A, nonblank_Patient = 3.
- Aggregate · Sum nonblank_Patient, Count populated values in Patient for each Clinic
If a category appears more than once, its records contribute to one result. The first output row contains Clinic = Sky, sum_nonblank_Patient = 4, nonblank_Patient = 2.
- Measure Filter · Keep the requested rows
The filter uses sum_nonblank_Patient > 0 in keep mode. 2 rows remain including Sky.
- Math · Calculate Visits after the first (%)
Apply 100 * ([sum_nonblank_Patient] - [nonblank_Patient]) / [sum_nonblank_Patient] to each input row. The first row yields 50.
- Sort · Order the results
Sort by Visits after the first (%) (descending), then Clinic (ascending). The first rows in order are Sky → Sea.
- Rank · Assign a rank
The ordered rows receive positions starting at 1. Here, Sky is #1, Sea is #2.
- Measure Filter · Keep the requested rows
The filter uses rank <= 2 in keep mode. 2 rows remain including Sky.
- Column Renamer · Prepare the output columns
Remove rank. The result exposes Clinic, Visits after the first (%).
- Charts · Draw the bar chart
Use Clinic for the categories and Visits after the first (%) for the plotted values.

The chart

| Clinic | Visits after the first (%) |
|---|---|
| Sky | 50 |
| Sea | 33.333333 |
How to use the result
For Clinic Sky, the sample reports Visits after the first (%) of 50.
Synthetic test audio. Screenshots from the recorded workflow in n0is.