Forum Discussion

Vladracs's avatar
Vladracs
Helper I
3 years ago
Solved

Filtering on 2 tables without impacting Ranking

Hello Experts,

Not sure if this is possible, but I have a page with 2 tables where I applied some ranking , each table is the result for 1 year/month. 

It would be great if I could filter or show the ranking of a particular customer in an easy way.
Say for 2020:

CustomerTotal SalesRank
A401
B302
C203
D104

Say for 2022:

CustomerTotal SalesRank
C401
A302
D203
B104


I'd like an easy way to filter on say A and show that it is ranked 1st in 2020 but 2 and 2022.

the way the tables are build right now, if I click on A in one table, it could filter the second, but the ranking gets broken (it will always show 1, as its the only element on the other table).

Ranking is done with : mRanking = RANKX (ALLSELECTED(Ranking[DATA],Ranking[Customer]),[Total Sales],,DESC,Dense)

Thank you in advance.
Vlad

  • Hope this helps. There is a Year column in my table , which is used both in the slicer and table visual

     

     

     

2 Replies

  • Hope this helps. There is a Year column in my table , which is used both in the slicer and table visual