Forum Discussion
rankx problem
- 10 years ago
Hi,
I solved the issue late last night, either its a bug in the Dax function or I'm missunderstanding how it works.
To resolve I had to exclude the search value from the the underling list of values to be ranked against, it seems Dax was sometimes ranking an idenitcal value below itself hence adding 1 to the rank.
With part of data you provided, I could not correctly identify the problem. You can take a look at the last part of this blog. It explains how rankx works when we specific the third value argument.
If possible, you can post more data here to help address the problem.
Best Regards,
Herbert
- itchyeyeballs10 years ago
Impactful Individual
Hi,
I solved the issue late last night, either its a bug in the Dax function or I'm missunderstanding how it works.
To resolve I had to exclude the search value from the the underling list of values to be ranked against, it seems Dax was sometimes ranking an idenitcal value below itself hence adding 1 to the rank.
- cedric_2674 years agoFrequent Visitor
It's a little bit late, but can you share the solution / your new fonction ?
- itchyeyeballs4 years ago
Impactful Individual
Hi,
I can't find the code I used but I think I just used a filter to exclude the extra value from the table passed to the rank function.