Forum Discussion

Stemar_Aubert's avatar
Stemar_Aubert
Resolver I
6 years ago
Solved

Filter a RANKX result on a specific visual

Hello and happy new year.   I have a RANKX formula that gives out the rank of sales people based on specific KPIs. A slicer on a page changes the KPI on which sales people are ranked.     IF (...
  • Stemar_Aubert's avatar
    Stemar_Aubert
    6 years ago

    Ok so I solved it.

     

    I can't pass the rankx formula in the filter fields, as it breaks. I couldn't also use it to generate a new DAX table, because I have report-wide filters, and it would not capture them.

     

    So what I did was, create 3 measures that yields the name of Sales individual 1,2 and 3 each. Then pass the Sales individual name as filter on visual, select TOP n of this measure. Works perfectly.

     

    Not pretty, but I got what I needed.