How much branch traffic happens after the first visit?

Why ask this?

A branch manager budgeting for follow-up traffic wants to know how many identified visits happened after a person’s first recorded visit at that branch. A person with five visits contributes four follow-ups. The calculation covers the records supplied.

Start with the sample data

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

What to say

Please show the top three branches by percentage of identified visits after the first visit per visitor as a bar chart.

Processing time

Recorded audio to chart ready
4.14 s
Transcript to chart ready
0.40 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. Aggregate · Sum 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, sum_nonblank_Visitor = 8, nonblank_Visitor = 4.

  4. Measure Filter · Keep the requested rows

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

  5. Math · Calculate Visits after the first (%)

    Apply 100 * ([sum_nonblank_Visitor] - [nonblank_Visitor]) / [sum_nonblank_Visitor] to each input row. The first row yields 50.

  6. Sort · Order the results

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

  7. Rank · Assign a rank

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

  8. Measure Filter · Keep the requested rows

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

  9. Column Renamer · Prepare the output columns

    Remove rank. The result exposes Branch, Visits after the first (%).

  10. Charts · Draw the bar chart

    Use Branch for the categories and Visits after the first (%) for the plotted values.

Native n0is canvas for How much branch traffic happens after the first visit?

The chart

Workflow result in n0is
BranchVisits after the first (%)
East50
West33.333333
South0

How to use the result

For Branch East, the sample reports Visits after the first (%) of 50.

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