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

Register now to learn Fabric in free live sessions led by the best Microsoft experts. From Apr 16 to May 9, in English and Spanish.

Reply
Anonymous
Not applicable

Cohort base cumulative sum

Hi all,

 

I was wondering if someone can could help me.

I have data like below, what i want to have cumulative sum for each day (column) and by cohort day ( row) basically in excel this could be done :

Capture.PNG

 

for example the 25 march the 1 day will be 57158.Capture2.PNG

 

What is the best measure to get this please?

regards

Darren

1 ACCEPTED SOLUTION
Anonymous
Not applicable

my solution was 

Cumulative Cohort Revenue = ( CALCULATE (
SUM('Cohort rev_2'[revenue] ),FILTER(ALLEXCEPT('Cohort rev_2','Cohort Rev_2'[cohort_day],'Cohort rev_2'[campaign_type],'Cohort rev_2'[app],'Cohort rev_2'[dim_country],'Cohort rev_2'[install_type]),'Cohort Rev_2'[Install days_diff]<=MAX('Cohort rev_2'[Install days_diff]))))

View solution in original post

4 REPLIES 4
Anonymous
Not applicable

Hi,

 

Please see below, just some sample 

 

appcohort_daydays_diffcountry_idrev
this11/03/20207029.96
this11/03/20209056.97

this

11/03/20205036.97
this11/03/20202017.99
this11/03/2020802.99
this11/03/20203017.99
this11/03/2020100.99
this11/03/2020003.99
this11/03/2020071.98
this14/03/20200790.99
this11/03/202012068.94
this11/03/2020020190.82
this11/03/20200380.99
this11/03/2020133865.96
this11/03/202010162.99
this11/03/20206164.98
this11/03/202031610.98
this11/03/20207163.99
this11/03/20208163.98
this11/03/20200161.99
this11/03/20205167.97
this11/03/2020121617.99
this11/03/20202160.99
this11/03/202011168.99
this11/03/20200330.99

 

Hi @Anonymous ,

 

Sorry I cannot get you based on your data. Could you please share more details about that?

 

 

Community Support Team _ Frank
If this post helps, then please consider Accept it as the solution to help the others find it more quickly.
Anonymous
Not applicable

my solution was 

Cumulative Cohort Revenue = ( CALCULATE (
SUM('Cohort rev_2'[revenue] ),FILTER(ALLEXCEPT('Cohort rev_2','Cohort Rev_2'[cohort_day],'Cohort rev_2'[campaign_type],'Cohort rev_2'[app],'Cohort rev_2'[dim_country],'Cohort rev_2'[install_type]),'Cohort Rev_2'[Install days_diff]<=MAX('Cohort rev_2'[Install days_diff]))))
amitchandak
Super User
Super User

Can you share some sample data.

Helpful resources

Announcements
Microsoft Fabric Learn Together

Microsoft Fabric Learn Together

Covering the world! 9:00-10:30 AM Sydney, 4:00-5:30 PM CET (Paris/Berlin), 7:00-8:30 PM Mexico City

PBI_APRIL_CAROUSEL1

Power BI Monthly Update - April 2024

Check out the April 2024 Power BI update to learn about new features.

April Fabric Community Update

Fabric Community Update - April 2024

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