Skip to main content
cancel
Showing results for 
Search instead for 
Did you mean: 

The Power BI Data Visualization World Championships is back! Get ahead of the game and start preparing now! Learn more

Reply
Vladracs
Helper I
Helper I

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

1 ACCEPTED SOLUTION
Padycosmos
Solution Sage
Solution Sage

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

Padycosmos_0-1677500307118.png

Padycosmos_1-1677500444427.png

 

Padycosmos_2-1677500848332.png

 

 

View solution in original post

2 REPLIES 2
Padycosmos
Solution Sage
Solution Sage

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

Padycosmos_0-1677500307118.png

Padycosmos_1-1677500444427.png

 

Padycosmos_2-1677500848332.png

 

 

ABS(BRILLIANT)

Helpful resources

Announcements
Power BI DataViz World Championships

Power BI Dataviz World Championships

The Power BI Data Visualization World Championships is back! Get ahead of the game and start preparing now!

December 2025 Power BI Update Carousel

Power BI Monthly Update - December 2025

Check out the December 2025 Power BI Holiday Recap!

FabCon Atlanta 2026 carousel

FabCon Atlanta 2026

Join us at FabCon Atlanta, March 16-20, for the ultimate Fabric, Power BI, AI and SQL community-led event. Save $200 with code FABCOMM.