Forum Discussion
kirbynguyen
5 years agoHelper II
Ranking Per Row in a Matrix
Hello, I have data that when put in a Matrix looks like this (keep in mind the data isn't just one row per value, there are multiple rows per combination, so each value in each cell is an aggrega...
- 5 years ago
kirbynguyen
You can use the following measure to get the desired ranking.Ranking = IF( HASONEVALUE(Table2[Category]) && HASONEVALUE(Table2[Name]), RANKX( ALLSELECTED(Table2[Category]), CALCULATE(SUM(Table2[Value])) ) )
Fowmy
5 years agoSuper User
kirbynguyen
You can use the following measure to get the desired ranking.
Ranking =
IF(
HASONEVALUE(Table2[Category]) && HASONEVALUE(Table2[Name]),
RANKX(
ALLSELECTED(Table2[Category]),
CALCULATE(SUM(Table2[Value]))
)
)