Forum Discussion
Struggling with a Running Total Measure
- 6 years ago
Hi facilitydax
Try this. See it all at work in the attached file.
Running Total 2 = VAR currank2 = [RankTest] RETURN CALCULATE ( SUMX(Asset; [RM]); FILTER(ALL(Asset); [RankTest] <= currank2) )Please mark the question solved when done and consider giving kudos if posts are helpful.
Cheers

AlB ,
Here's a highly modified version of the file with just the top 100 rows in one table. However, the concept is the same in that I need to be able to do the Running Total correctly.
Thanks!
Hi facilitydax
Try this. See it all at work in the attached file.
Running Total 2 =
VAR currank2 = [RankTest]
RETURN
CALCULATE (
SUMX(Asset; [RM]);
FILTER(ALL(Asset); [RankTest] <= currank2)
)
Please mark the question solved when done and consider giving kudos if posts are helpful.
Cheers ![]()
- facilitydax6 years agoFrequent Visitor
Hi AlB ,
Can't thank you enough for the help so far. It does indeed work in that stripped down troubleshooting file. Unfortunately, I can't verify whether it works in my full larger file model because it exceeds my memory after a minute or so. It's kind of a bummer because the rank measure and the unconstrainedRM measure render just fine until I try to throw the new running total into the table.
If you have any ideas on why it won't finish, give me a holler.
Thanks!
- AlB6 years ago
Community Champion
Hard to tell without seeing the real file. Can you show at least the structure of your tables? How many rows do they have? How much memory does your computer have?