What share of people returned?

Why ask this?

A branch manager comparing loyalty across locations needs to account for how many different people each branch reaches. Count each identified person once in the denominator and each person seen twice or more once in the numerator.

Start with the sample data

Open source.csv. In the first row of source.csv, Branch = East, Visitor = A.

What to say

Please make a bar chart of the top three branches by percentage of identified visitors who returned. Skip groups with no identified visitors.

Processing time

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

How the canvas produces the result

  1. CSV Input · Read the sample records

    source.csv supplies 14 rows. These records are the inputs to the next step.

  2. 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.

  3. 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.

  4. Aggregate · Count populated values in nonblank_Visitor, Count populated values in 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, nonblank_Visitor = 4.

  5. Measure Filter · Keep the requested rows

    The filter uses nonblank_Visitor > 0 in keep mode. 3 rows remain including East.

  6. Math · Calculate Returning visitors (%)

    Apply 100 * [nonblank_nonblank_Visitor] / [nonblank_Visitor] to each input row. The first row yields 25.

  7. Sort · Order the results

    Sort by Returning visitors (%) (descending), then Branch (ascending). The first rows in order are West → East → South.

  8. Rank · Assign a rank

    The ordered rows receive positions starting at 1. Here, West is #1, East is #2, South is #3.

  9. Measure Filter · Keep the requested rows

    The filter uses rank <= 3 in keep mode. 3 rows remain including West.

  10. Column Renamer · Prepare the output columns

    Remove rank. The result exposes Branch, Returning visitors (%).

  11. Charts · Draw the bar chart

    Use Branch for the categories and Returning visitors (%) for the plotted values.

Native n0is canvas for What share of people returned?

The chart

Workflow result in n0is
BranchReturning visitors (%)
West50
East25
South0

How to use the result

For Branch West, the sample reports Returning visitors (%) of 50.

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