Forum Discussion
QLD_Jay
8 years agoFrequent Visitor
RANK.EQ If statement ignoring 0
Hi All, I'm attempting to use the RANK.EQ function to produce TopN and BottomN tables that can be filtered by rank. Currently I have a TopN column that ranks Device CPU usage totals from high...
- 8 years ago
Try with RANKX
= IF ( 'All Device CPU Rank Table'[Total] <> 0, RANKX ( FILTER ( ALL ( 'All Device CPU Rank Table'[Total] ), 'All Device CPU Rank Table'[Total] <> 0 ), 'All Device CPU Rank Table'[Total], , ASC ) )
Zubair_Muhammad
Community Champion
8 years ago
Try with RANKX
=
IF (
'All Device CPU Rank Table'[Total] <> 0,
RANKX (
FILTER (
ALL ( 'All Device CPU Rank Table'[Total] ),
'All Device CPU Rank Table'[Total] <> 0
),
'All Device CPU Rank Table'[Total],
,
ASC
)
)QLD_Jay
8 years agoFrequent Visitor
Thanks Zubair,
Worked exactly as required.
I attempted RANKX prior to RANK.EQ and for the life of me couldn't get anything but 1's out of it.
Cheers!