Forum Discussion
OjasBI
9 years agoFrequent Visitor
RANKX Measure issue
Hi, I was trying to create rank using RANKX function. However I was facing an issue. Lets consider above scenario. I have sorted the data by Rank above. The rank for the 1st row is 4....
- 9 years ago
Hi,
It seems that you used RANKX in a calculated column. You can make the visual display from 1. But this couldn’t be your purpose. Maybe you need a measure like this. Please have a try.
MeasureRankx = RANKX ( ALL ( 'Table'[Supp] ), CALCULATE ( SUM (‘Table’[Sp] ) ) )
Best Regards!
Dale
v-jiascu-msft
9 years agoMicrosoft Employee
Hi,
It seems that you used RANKX in a calculated column. You can make the visual display from 1. But this couldn’t be your purpose. Maybe you need a measure like this. Please have a try.
MeasureRankx = RANKX ( ALL ( 'Table'[Supp] ), CALCULATE ( SUM (‘Table’[Sp] ) ) )
Best Regards!
Dale
- OjasBI9 years agoFrequent Visitor
Thanks Dale !!!
That helped.