Forum Discussion
TMoney
3 years agoFrequent Visitor
Difference between RANKX in Matrix and Card visuals
Hello, I've reached out to two experts on this, and neither has been able to figure this one out. I have a basic RANKX formula, ranking Sales: Rank Sales = RANKX ( ALL( 'aims teams' ), [SUM....
- 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
v-easonf-msft
3 years agoCommunity Support
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
Anonymous
3 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?