Forum Discussion
YunJ
Post Prodigy
6 years agoHow to write a rank measure?
Hi, I would like to add a rank in this table based on the GMV, I tried the measure as the following, but failed... Thanks for your help!
- 6 years ago
Hi YunJ
Let me know if you'd like to get this one?
Measure = CALCULATE(SUM('2020'[GMV]),FILTER('2020','2020'[Category_flag]="Category-L1"))Brand store GMV_Rank = RANKX(ALLSELECTED('Raw Data'[Brand]),[Measure],,DESC)Pbix attached.
v-diye-msft
Community Support
6 years agoHi YunJ
Let me know if you'd like to get this one?
Measure = CALCULATE(SUM('2020'[GMV]),FILTER('2020','2020'[Category_flag]="Category-L1"))Brand store GMV_Rank = RANKX(ALLSELECTED('Raw Data'[Brand]),[Measure],,DESC)
Pbix attached.