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
Siriwat_Lukin
Helper I
Helper I

Cumulative total with 3 conditions

Hello everyone,

 

I want to calculate daily cumulative total by daily , person and sub assembly. 

by have data as below ( yellow column is expect result)

 

Capture.JPG

 

I've been trying to find examples and fix myself for a long time.

Could you please help me to solve this ?

 

Thank in advance

 

1 ACCEPTED SOLUTION
negi007
Community Champion
Community Champion

@Siriwat_Lukin I have attempted to solve your problem.

 

Here we go

1. Create a calculated column in your data to concatenate your columns values which will be used to calculate cumulative total

Concatnate_col = 'Cumulative _Total'[Date] &"|" & 'Cumulative _Total'[Person Name] & "|" & 'Cumulative _Total'[Sub-assembly]
negi007_1-1607694056081.png

 

2. Then using Quick Measure you can create a running total measure which is basically your cumulative total like below
 
negi007_2-1607694063186.png

 

3. Create below visual to show cumulative total
 
negi007_3-1607694071765.png

 

I hope this solution works for you
 
 



Did I answer your question? Mark my post as a solution!
Appreciate your Kudos



Proud to be a Super User!


Follow me on linkedin

View solution in original post

2 REPLIES 2
negi007
Community Champion
Community Champion

@Siriwat_Lukin I have attempted to solve your problem.

 

Here we go

1. Create a calculated column in your data to concatenate your columns values which will be used to calculate cumulative total

Concatnate_col = 'Cumulative _Total'[Date] &"|" & 'Cumulative _Total'[Person Name] & "|" & 'Cumulative _Total'[Sub-assembly]
negi007_1-1607694056081.png

 

2. Then using Quick Measure you can create a running total measure which is basically your cumulative total like below
 
negi007_2-1607694063186.png

 

3. Create below visual to show cumulative total
 
negi007_3-1607694071765.png

 

I hope this solution works for you
 
 



Did I answer your question? Mark my post as a solution!
Appreciate your Kudos



Proud to be a Super User!


Follow me on linkedin

Hello,

 

I can solve this problem.

Thank you for your solution and I think it's good idea.

😊

 

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.