How to do running total based on two columns in power BI

SEPEHR485

New Member
Joined
Feb 6, 2017
Messages
12
Hello all. I have a dataset consist of Region, Status, Date ,Count. I am trying to show the cumulative Count of Dates based on the status in a clustered chart with lines in PBI. I want to show the cumulative count of act and plan as a separate line. in the first action I need to be able to make a measure for cumulative based on months and status. does anyone know the dax formula for cumulative Act and cumulative pln ? Thanks
1652902877680.png
 
Last edited:

Excel Facts

Who is Mr Spreadsheet?
Author John Walkenbach was Mr Spreadsheet until his retirement in June 2019.
Hello all. I have a dataset consist of Region, Status, Date ,Count. I am trying to show the cumulative Count of Dates based on the status in a clustered chart with lines in PBI. I want to show the cumulative count of act and plan as a separate line. in the first action I need to be able to make a measure for cumulative based on months and status. does anyone know the dax formula for cumulative Act and cumulative pln ? Thanks View attachment 64988
here is the DAX I wrote. but it does not do cumulative sum. Does anyone know how to fix it?
Cumulative Target =
CALCULATE(SUM('Sheet1'[Count]), ALLSELECTED('Sheet1'[Type]),'Sheet1'[Type]="Pln")
 
Upvote 0

Forum statistics

Threads
1,223,652
Messages
6,173,606
Members
452,522
Latest member
saeedfiroozei

We've detected that you are using an adblocker.

We have a great community of people providing Excel help here, but the hosting costs are enormous. You can help keep this site running by allowing ads on MrExcel.com.
Allow Ads at MrExcel

Which adblocker are you using?

Disable AdBlock

Follow these easy steps to disable AdBlock

1)Click on the icon in the browser’s toolbar.
2)Click on the icon in the browser’s toolbar.
2)Click on the "Pause on this site" option.
Go back

Disable AdBlock Plus

Follow these easy steps to disable AdBlock Plus

1)Click on the icon in the browser’s toolbar.
2)Click on the toggle to disable it for "mrexcel.com".
Go back

Disable uBlock Origin

Follow these easy steps to disable uBlock Origin

1)Click on the icon in the browser’s toolbar.
2)Click on the "Power" button.
3)Click on the "Refresh" button.
Go back

Disable uBlock

Follow these easy steps to disable uBlock

1)Click on the icon in the browser’s toolbar.
2)Click on the "Power" button.
3)Click on the "Refresh" button.
Go back
Back
Top