Forum Discussion

Anonymous's avatar
Anonymous
Not applicable
5 years ago
Solved

Cohort analysis - retention rate

Hi, I'm new to Power BI and I want to calculate and show retention rate on dashboard. I have tables regarding user cohort data and we calculate retention rate as below.   ex. Retention Rate for A...
  • lbendlin's avatar
    5 years ago

    You cannot show the retention rate by date.  Remove the [date] column from your table visual.

     

     

    Then it is easy to create the measure. For each "row" of the table visual identify if the period is 0. If yes, skip the row (return BLANK() or 1). If no, create a variable to calculate the sum of Retained_users , replacing the Period filter with 0. Lastly divide the sum of Retained_users for the current "row" by the calculated variable.