Forum Discussion
More than 1 Rankx
did you implement my suggestion?
lbendlin Hi
I tried - but keep erroring out. Here is my Rank measure. Not sure where I would add RAND()
Rank_SvcDtl =
IF (
ISINSCOPE(‘TABLE’[SVC_DTL]),
RANKX(
ALL(‘TABLE’[SVC_DTL]),
CALCULATE(SUM(‘TABLE’[Gross Rev Var]),
FILTER(ALL(‘TABLE’[Gross Rev Var]),’TABLE’[Gross Rev Var]<>BLANK())),,DESC,Dense))
- lbendlin4 years agoSuper User
Seems to work for me. The only thing that's off are the ranks for the negative values.
- Anonymous4 years agoNot applicable
Thank you! I eagery opened the file. Sadly, I have (my company) a Jan 2021 version of PBI. and hence unable to open your file. Is there anyway you can just post the dax here, that you used.
I had the issue with negative numbers also with a different version of dax I tried earlier. At that time I was going to add an if statment for <0 and >0.
- Anonymous4 years agoNot applicable
I also tried to open this in PowerBI Service but Unfortunately seeing DAX behind a measure is not possible in power bi service and you can only see that in pbi desktop.
lbendlin In PBiService I can see your ranking. Looks good. But if I can just view the DAX that would be great.
Thanks for all your help.