Forum Discussion

michaldb's avatar
michaldb
Regular Visitor
1 year ago
Solved

RANK function with two level filters

Hello,   I have been trying to find a solution to the following problem, which I will explain using the sample report linked below: RANK - Adventure Works DW 2020.pbix   I have a matrix visual w...
  • lbendlin's avatar
    1 year ago

    If you are always excluding Corporate HQ then you can use

     

    Total Sales Rank ALL = 
    RANK(
        SKIP,
        Filter(ALL( 'Sales Territory'[Region] ),[Region]<>"Corporate HQ"),
        ORDERBY( [Total Sales] )
    )