Forum Discussion
trishd1223
3 years agoFrequent Visitor
Rankx skipping 0's/blanks
Hi - I'm having trouble with Rankx. I don't want to rank 0's or blanks. I was able to get the rankx to avoid assigning a rank # to 0's, however, it doesn't skip and resume to the next rank #. For ...
- 3 years ago
trishd1223
Can you try the following measure?Rank adam test $ chg 2 = IF ( [$ Chg Column for Ranking - adam] <> 0 && ISINSCOPE ( AppendedData[Brand] ), RANKX ( FILTER ( ALLSELECTED ( AppendedData[Brand] ), [$ Chg Column for Ranking - adam] <> 0 ), [$ Chg Column for Ranking - adam] ) )
Fowmy
Super User
3 years agotrishd1223
Can you try the following measure?
Rank adam test $ chg 2 =
IF (
[$ Chg Column for Ranking - adam] <> 0
&& ISINSCOPE ( AppendedData[Brand] ),
RANKX (
FILTER (
ALLSELECTED ( AppendedData[Brand] ),
[$ Chg Column for Ranking - adam] <> 0
),
[$ Chg Column for Ranking - adam]
)
)