Forum Discussion

dgdgdg122db's avatar
dgdgdg122db
Icon for Helper II rankHelper II
6 years ago
Solved

Rank negative number result not expected

I am trying to rank the customers based on the margins, however, I am facing issues with the ranking results, in particular, the unexpected ranks on negative numbers.   Without using tie Dens...
  • Mariusz's avatar
    6 years ago

    Hi dgdgdg122db 

     

    If RRANKX with Dense fixes the issue why not just use that?

    Please see the RANKX function description that explains how the Dense below.

    https://docs.microsoft.com/en-us/dax/rankx-function-dax

     

    If you want to know why it accrues you will need to investigate your Model, 'Customer EMEA ' is probably a good start.

     

     

    Best Regards,
    Mariusz

    If this post helps, then please consider Accepting it as the solution.