Forum Discussion
chsardas
8 years agoRegular Visitor
Running total with ranking
Hi, I'm trying to do a Running Total based on a rank of a measure. After a little of research i've found the way to do the running total but i'm having a trouble with that. I create a rank m...
- 8 years ago
Finnally i´ve got the solution.
I´ve changed the approach of the formula.
Used this guide (it´s in spanish)
chsardas
8 years agoRegular Visitor
Nice idea, now the ranking shows different values:
But the running total keeps returning the same, it looks like the top n doesn't take care of the decimal. :(
Zubair_Muhammad
Community Champion
8 years agoHI chsardas
Sorry I went to sleep.
Could you try this please?
I hope it will work
Ranking City =
RANKX (
ALL ( Sales[City] ),
[QTR Quantity]
+ RANDBETWEEN ( 1, 100 ) / 1000,
,
DESC,
SKIP
)- chsardas8 years agoRegular Visitor
Hi!! Now the ranking works better but the running total is really weird:
- Zubair_Muhammad8 years ago
Community Champion
Could you share your file via one drive or googledrive?- chsardas8 years agoRegular Visitor
I've sent you a PM. :smileyhappy: