Skip to main content
cancel
Showing results for 
Search instead for 
Did you mean: 

The Power BI Data Visualization World Championships is back! Get ahead of the game and start preparing now! Learn more

Reply
Watthell234
Frequent Visitor

Cohort Analysis

Hello All,

 

I am trying to perform a Cohort Analysis.

 

 

image.pngMy Dataset looks as follows: 

 

 

 

 

 

 

 

 

Desired Output is the percentage remaining over time:

image.png

 

 

 

 

 

 

How to create a dynamic Measure that is able to change no matter what the cohort is. Meaning if I were to switch the start date for state or anything like it, I am able to see the decay over counter.

 

Please help! stuck for weeks.

1 ACCEPTED SOLUTION
v-sihou-msft
Microsoft Employee
Microsoft Employee

@Watthell234

 

In this scenario, I don't know what your MRR mean and how your percentage remaining calculate.

 

But basically, you need to have to full calendar table and build relationship between monthly counter and date column. Then you can create a matrix, put StartDate as row group and Date on column group. If you want to use current MRR divide by total MRR under same StartDate. You can create a measure below and put it in Value.

 

=
SUM ( Table[MRR] )
    / CALCULATE (
        SUM ( Table[MRR] ),
        ALLEXCEPT ( Table, Table[StartDate], Table[UniqueId] )
    )

Regards,

 

View solution in original post

2 REPLIES 2
v-sihou-msft
Microsoft Employee
Microsoft Employee

@Watthell234

 

In this scenario, I don't know what your MRR mean and how your percentage remaining calculate.

 

But basically, you need to have to full calendar table and build relationship between monthly counter and date column. Then you can create a matrix, put StartDate as row group and Date on column group. If you want to use current MRR divide by total MRR under same StartDate. You can create a measure below and put it in Value.

 

=
SUM ( Table[MRR] )
    / CALCULATE (
        SUM ( Table[MRR] ),
        ALLEXCEPT ( Table, Table[StartDate], Table[UniqueId] )
    )

Regards,

 

Thank you @v-sihou-msft!Smiley Very Happy

Helpful resources

Announcements
Power BI DataViz World Championships

Power BI Dataviz World Championships

The Power BI Data Visualization World Championships is back! Get ahead of the game and start preparing now!

December 2025 Power BI Update Carousel

Power BI Monthly Update - December 2025

Check out the December 2025 Power BI Holiday Recap!

FabCon Atlanta 2026 carousel

FabCon Atlanta 2026

Join us at FabCon Atlanta, March 16-20, for the ultimate Fabric, Power BI, AI and SQL community-led event. Save $200 with code FABCOMM.