Jolene.pro

How to check a weekly dashboard rate when the same person appears twice

When a dashboard switches from days to weeks, first identify what the denominator counts. A total of eligible events can be rolled up from daily counts. A weekly count of distinct people needs the original person-level rows.

Start with additive counts

In the synthetic Daily!B2:C3 table, Monday has 9 completions from 10 eligible records and Tuesday has 10 from 100. The combined rate is 19 รท 110, or 17.27%. Averaging the daily percentages gives 50%. The formula =SUM(B2:B3)/SUM(C2:C3) gives the combined rate when all counts are present and the denominator is positive.

Recount at person level

Source rowDayPersonEligibleCompleted
Events!A2:D2MondayP1YesYes
Events!A3:D3MondayP2YesNo
Events!A4:D4TuesdayP1YesYes
Events!A5:D5TuesdayP3YesNo

Two of four eligible person-days are complete, so the person-day rate is 50%. At week grain there are three eligible people. Under the example rule that any qualifying completion marks the person complete for the week, only P1 qualifies. The weekly distinct-person rate is one of three, or 33.33%.

Compare the same reporting window

  1. Record the dashboard time zone, week boundaries and filters. Apply those same settings before counting.
  2. Group the included event rows by person and apply the documented completion rule. Keep the event rows beside the weekly result.
  3. Leave the exact rate unresolved if required inputs are missing. Report an undefined rate when the eligible denominator is zero.

Further reading. Metabase time grouping discussion and the simpler daily-to-weekly example.

Leave a comment