Forum Discussion
hannahGala
8 years agoAdvocate I
RANKX excluding blanks
Hiya all, I've not posted before, apologies if this isn't in the right place. I want to rank clubs by their YOY (year on year) variances - however there are some which may not have any sales ...
- 8 years ago
You may refer to DAX below.
YOY Rank = IF ( NOT ( ISBLANK ( [YOY] ) ), RANKX ( FILTER ( ALLSELECTED ( 'Core ClubsVW'[Club] ), NOT ( ISBLANK ( [YOY] ) ) ), [YOY] ) )
v-chuncz-msft
8 years agoCommunity Support
You may refer to DAX below.
YOY Rank =
IF (
NOT ( ISBLANK ( [YOY] ) ),
RANKX (
FILTER ( ALLSELECTED ( 'Core ClubsVW'[Club] ), NOT ( ISBLANK ( [YOY] ) ) ),
[YOY]
)
)
madawak
7 years agoFrequent Visitor
Thanks Sam.
Regards,
Madawa