Forum Discussion
cwermager
5 years agoFrequent Visitor
Running Total Based on Rank with Filters
Hi all. I've scoured the forums for days to no avail. I'm no DAX expert, but have tried seemingly infinte variations of the proposed solutions. I'm trying to calculate a running total based on a ...
FrankAT
5 years agoCommunity Champion
Hi cwermager
I think you can do it like this:
Division = DIVIDE(MIN('Table'[Benefit]),MIN('Table'[Cost]))
Rank = RANKX(ALLEXCEPT('Table','Table'[Area]),[Division],,DESC,Skip)
With kind regards from the town where the legend of the 'Pied Piper of Hamelin' is at home
FrankAT (Proud to be a Datanaut)