Forum Discussion
Cumulative Sum on Text Field
- 2 years ago
Anonymous
Please check the attached file:Running Total = CALCULATE( [Total Sales], 'Sales Table'[Priortiy] <= MAX( 'Priority Table'[Priority] ), ALLSELECTED( 'Priority Table' ) )
Anonymous
Modify your measure as follows. I assume you have includedonly the 'Priority Intiative'[Priority Int] on the Row section of the matrix, that's way I removed the filters using REMOVEFILTER, if you have added more columns from the same table, please include them as well.
Running Total =
CALCULATE(
sum( Sales[Total Sales]),
'Priority Intiative'[Priority] <= MAX('Priority Intiative'[Priority]),
REMOVEFILTERS( 'Priority Intiative'[Priority Int] )
)
- Anonymous2 years agoNot applicable
Thanks! I am still runnning into this thing where it doesn't carry the value down. My Priority table only has the Int field and the priority number. Any thoughts?
- Fowmy2 years agoSuper User
Anonymous
Try this measure, if it doesn't work, please share a dummy PBI file that represents your secenario. Save it in Google Drive and share the link here.Running Total = CALCULATE( sum( Sales[Total Sales]), 'Priority Intiative'[Priority] <= MAX('Priority Intiative'[Priority]), REMOVEFILTERS( 'Priority Intiative') )- Anonymous2 years agoNot applicable
https://drive.google.com/file/d/1k1M3yCb-4z1e_mF0hAT28SpeY3vdrX2P/view?usp=drive_link
Hi, if you look at Team B, there is 592 for one priority and one for a second one. I would expect the cumulative to be 592 until the next one kicks in to make it 1192. I need this to work with text though.