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

Compete to become Power BI Data Viz World Champion! First round ends August 18th. Get started.

Reply
lkhall
Helper I
Helper I

Cohort Analysis Help

I have been struggling to determine how to calculate the denominator values in the attached examples. Getting the Cohort data and Numerators are easy but just cant figure out the denominator to get the right percentages. Any help would be greatly appreciated. In the end I am trying to replicated the percentages matrix. 

 

 

Cohort Analysis.png

9 REPLIES 9
AnthonyGenovese
Resolver III
Resolver III

Where does the denominator come from?

The denominator is a calculation of a formula 

 

SUM(OFFSET($D$105,-$D128,0):OFFSET($D$105,-MAX($D129,D$130)-1,0)) = 2023 month 0 cohort value 628

You need to be more clear with what data you have already loaded and what the business logic is. Please provide a table of what you are loading into power BI, the business logic (not excel), and then an example.

I don't see anyway to attach a file to provide you the raw data. 

Just provide an example using the table feature in the post reply

132372921282523232215
3991359370686159605549
393184138120989183868066
2961421291111009187778076
1771089483807070646562
26313212312310810092908590
400271237226220217190196181173
779558503477448423421363296259
628344264169102450000

 

This is an example of  the data that I am using and represents the numerator part of the equation. I am not that familiar with the OFFSET function in Excel and having a nested OFFSET inside an offset is thowing me off on how the denominator is being calculated. 

 

132132132132132132132132132132132
399399399399399399399399399399399
393393393393393393393393393393393
296296296296296296296296296296296
177177177177177177177177177177177
263263263263263263263263263263263
400400400400400400400400400400400
779779779779779779779695624546466
62851739827915478162233311391446

This is the expected outcome for the denominator 

Helpful resources

Announcements
July 2025 community update carousel

Fabric Community Update - July 2025

Find out what's new and trending in the Fabric community.

July PBI25 Carousel

Power BI Monthly Update - July 2025

Check out the July 2025 Power BI update to learn about new features.