Forum Discussion
Marcus_swe
7 years agoFrequent Visitor
RANKX - inconsistent ranking
Hi, I am new to the PowerBi world, mostly fun but i have been stuck on this issue for some time now. I can't figure out why i can't get the RANKX function to work. I want to summarize all the sales...
- 7 years ago
Hi Marcus_swe
You may use below measure:
Ranking by sales = RANKX ( ALL ( Table1[Sales Person ID] ), CALCULATE ( SUM ( Table1[Sales] ) ), , DESC, DENSE )Regards,
v-cherch-msft
7 years agoMicrosoft Employee
Hi Marcus_swe
You may use below measure:
Ranking by sales =
RANKX (
ALL ( Table1[Sales Person ID] ),
CALCULATE ( SUM ( Table1[Sales] ) ),
,
DESC,
DENSE
)
Regards,