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
KH11NDR
Helper IV
Helper IV

Cumulative Totals Row

Hi Guys,

 

How do i do the Cumulative Total

 

Thanks

 

 01/01/201801/02/201801/03/201801/04/201801/05/201801/06/201801/07/201801/08/201801/09/201801/10/201801/11/201801/12/2018
Values0102030405060708090100110
Cumulative 0103060100150210280360450550660
1 ACCEPTED SOLUTION
v-chuncz-msft
Community Support
Community Support

@KH11NDR,

 

You may select Unpivot Columns in Query Editor, then research the code generated by Quick measure Running total.

Community Support Team _ Sam Zha
If this post helps, then please consider Accept it as the solution to help the other members find it more quickly.

View solution in original post

3 REPLIES 3
v-chuncz-msft
Community Support
Community Support

@KH11NDR,

 

You may select Unpivot Columns in Query Editor, then research the code generated by Quick measure Running total.

Community Support Team _ Sam Zha
If this post helps, then please consider Accept it as the solution to help the other members find it more quickly.
Maddy99
Resolver II
Resolver II

The first stap is to pivot your table. 

column name - Date - value

Cumm total - 1/1/2018 - 10

cumm total - 2/1/2018 - 5 ect

 

then you can to a measure on value:Total = Sum('table'[Value])

then an other measure for the cumalative. if you want it **bleep** in the year you can use. TOTALYTD function:

 total **bleep** = Calculate([Total], TOTALYTD('table'[Date]))

 

 

@Maddy99

 

 total **bleep** = Calculate([Total], TOTALYTD('table'[Date]))

 

The date field, is looking for a measure , my date field is a column.

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.