Forum Discussion
More than 1 Rankx
Thank you lbendlin
Any suggestions on - why not all 20 are showing. Some DETAIL and also SERVICE GROUP show only 19.
did you implement my suggestion?
- Anonymous4 years agoNot applicable
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.