Forum Discussion
Difference between RANKX in Matrix and Card visuals
- 3 years ago
Hi, TMoney
I'm sorry for replying so late, I've just seen your message.
Please checked the attached pbix file. You may need to modify the measure formula like:
New Rank Basic = VAR tab = ADDCOLUMNS ( ALLEXCEPT('aims teams','aims teams'[Index]), "SUM.$Sales", [SUM.$Sales], "_Rank basic", [Rank basic] ) RETURN MINX(tab, [_Rank basic] )Best Regards,
Community Support Team _ Eason
I was awaiting a further response to my question (sample file was attached which is still showing the error). On top of trying to solve this particular challenge, I'm really interested in the underlying cause of why RANKX is behaving in this extremely unpredictable and strange way.
Hi, TMoney
I'm sorry for replying so late, I've just seen your message.
Please checked the attached pbix file. You may need to modify the measure formula like:
New Rank Basic =
VAR tab =
ADDCOLUMNS (
ALLEXCEPT('aims teams','aims teams'[Index]),
"SUM.$Sales", [SUM.$Sales],
"_Rank basic", [Rank basic]
)
RETURN
MINX(tab, [_Rank basic] )
Best Regards,
Community Support Team _ Eason
- Anonymous3 years agoNot applicable
Hi! I'm having the same problem as the original poster but, when I try this measure in a visual, it keeps loading forever. Do you might know what can be causing this?