Join us for an expert-led overview of the tools and concepts you'll need to pass exam PL-300. The first session starts on June 11th. See you there!
Get registeredPower BI is turning 10! Let’s celebrate together with dataviz contests, interactive sessions, and giveaways. Register now.
Good morning,
I have 95% of my Cohort analysis working as expected but there is 1 requirement that I haven't been able to solve. For the cohort retention rate % totals I need to account for the month 0 cohorts that haven't had a chance to reach the given month. As an example shown in attached picture the current month 2 retention rate total calculation is a simple 1098 / 2606 giving you the 42%. But I have to account for the cohorts that haven't reached month 2 so the actual calculation needs to be 1098 / (2606 - 80 - 55) giving you 44%. This calculation would continue on i.e month 3 would then be 969 / (2606 - 80 - 55 -68) = 40%.
appreciate any help and advice.
I think that you could get the total you're after with something like
VAR ChosenCohort = SELECTEDVALUE( 'Cohort'[Num months])
VAR Total = CALCULATE( [My measure], DATEADD( ALLSELECTED('Date'[Date]), -ChosenCohort, MONTH) )
Thank you very much I think that got me what I needed.
This is your chance to engage directly with the engineering team behind Fabric and Power BI. Share your experiences and shape the future.
Check out the June 2025 Power BI update to learn about new features.
User | Count |
---|---|
14 | |
10 | |
10 | |
9 | |
9 |
User | Count |
---|---|
20 | |
13 | |
12 | |
11 | |
8 |