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

July 7 - July 17 | Round 2 of the Power BI Dataviz World Championships. Don't miss your chance! 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
FabCon and SQLCon Barcelona 2026

FabCon & SQLCon – Barcelona 2026

Join us in Barcelona for FabCon and SQLCon, the Fabric, Power BI, SQL, and AI community event. Save €200 with code FABCMTY200.

60 days of Data Days Carousel

Data Days 2026

Join Data Days 2026: 60 days of free live/on-demand sessions, challenges, study groups, and certification opportunities.

Power BI DataViz World Championships carousel

Power BI DataViz World Championships - June 2026

A new Power BI DataViz World Championship is coming this June! Don't miss out on submitting your entry.

Top Solution Authors