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

Don't miss out! 2025 Microsoft Fabric Community Conference, March 31 - April 2, Las Vegas, Nevada. Use code MSCUST for a $150 discount. Prices go up February 11th. Register now.

Reply
Thulasiraman
Helper II
Helper II

Ranking Filter

Hi 

 

I have created ranking for various items like sales value, sales quantity, product category etc and created 3 matrix tables displaying the ranking of the above values.

I have used the dax RANKX = RANKX(ALLSELECTED(column name, expression)

 

The above dax gives the ranking for entire values from 1 to till end.

 

I want to filter all the tables for top 5 and don't want to use the visual filters by going into each visual.

 

Is there a way to use the parameter so that if I slide to a specific number, the ranks in all the tables changes?

 

Appreciate your help very much and thanks in advance.

 

Thulasiraman

7 REPLIES 7
Mahesh0016
Super User
Super User

Hello @Thulasiraman ,

Can you share sample data and sample output in table format? Or a sample pbix after removing sensitive data.

Hello @Mahesh0016 

Thanks for reply.

Can I send the photo of the matrix tables or you want the entire pbix file?

you can share table matrix of expected result.

20221216_114344.jpg

I have used the visual filters of RANKX in the above matrix

Hello @Thulasiraman ,
can you share related Dax query you have.

Yes, following are the queries:

 

RANKX(ALLSELECTED('Itemwise DC All'[Dye Item]), [Total cost])
RANKX(ALLSELECTED(JobNoMaster[New Shade]), [Prod Qty])
RANKX(ALLSELECTED(JobNoMaster[New Shade]), [Prod value])

Helpful resources

Announcements
Las Vegas 2025

Join us at the Microsoft Fabric Community Conference

March 31 - April 2, 2025, in Las Vegas, Nevada. Use code MSCUST for a $150 discount!

Jan25PBI_Carousel

Power BI Monthly Update - January 2025

Check out the January 2025 Power BI update to learn about new features in Reporting, Modeling, and Data Connectivity.

Jan NL Carousel

Fabric Community Update - January 2025

Find out what's new and trending in the Fabric community.