Forum Discussion

mb0307's avatar
mb0307
Responsive Resident
4 years ago
Solved

Rank bottom filter

Hi All,   I have created a simple rank measure:   RANKX( ALL( CountryTable[Market] ), [Variation] )   to show TOP 5 market I am applying visual filter.   but how to get BOTTOM 5 based on th...
  • Anonymous's avatar
    Anonymous
    4 years ago

    Hi mb0307 ,

     

    Please sort by [Variation] in ascending order:

    Rank = IF([Variation]<>0 , RANKX(FILTER( ALL( CountryTable[Market] ), [Variation]<>0), [Variation],,ASC,Dense),BLANK())

    Then apply the measure to visual-filter pane, condition is <=5 & <> Blank:

    Best Regards,
    Eyelyn Qin
    If this post helps, then please consider Accept it as the solution to help the other members find it more quickly.