Forum Discussion
atitarev
Helper I
7 years agoRanking issue
Hi Power BI experts, I am having an issue in getting the RANKX() working correctly for me. The ranking column is last, which is not working. It's based on the previous column "Sort". T...
- 7 years ago
Try the following formula:
Sorting Rank = IF ( HASONEVALUE ( DATA[Consolidation] ), RANKX ( ALL ( DATA[Consolidation], DATA[Level Leader] ), [Sort Measure], , ASC, Dense) )It shows this ranking
themistoklis
Community Champion
7 years ago
Try the following formula:
Sorting Rank = IF (
HASONEVALUE ( DATA[Consolidation] ),
RANKX ( ALL ( DATA[Consolidation], DATA[Level Leader] ), [Sort Measure], , ASC, Dense)
)It shows this ranking
atitarev
Helper I
7 years agoThank you, themistoklis! That's exactly what I need.