Forum Discussion
Rank strange behavior
- 5 years ago
Hi,
I just solve the problem. I used an old version of the pbix, and made a copy-paste of all the new visuals from newer pbix to the older pbix and now is working correctly
Thanks
SammyPub , first all simply try rank like
RANKX(ALL('tblCodsDistrito'[Distrito]), [Grade], ,desc, dense)
or
RANKX(ALLSELECTED('tblCodsDistrito'[Distrito]), [Grade], ,desc, dense)
It's better but isn't ok.
To the Porto region the ranks are always one more than it should be:
As you can see, selecting only the year 2019, Porto has the rank #2
- Anonymous5 years agoNot applicable
Hi SammyPub ,
In order to do a problem tracking, could you please provide some sample data in the four tables involved? Not sure if it is because the relationship setting and the data in the table affect the result of the rank. In addition, could you please use data examples to illustrate the correct rank value? Thank you.
Best Regards