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

We've captured the moments from FabCon & SQLCon that everyone is talking about, and we are bringing them to the community, live and on-demand. Starts on April 14th. Register now

Reply
Omarb33
Regular Visitor

Issue when filtering with RANQX

Hello,

I have two tables in power BI. One table for stores and another one for reviews which are linked by a common store id.
I have created a table visual and added a rank to classify stores based on the average ranking and added also the number reviews in the rank formula to break ties.

When adding the rank measure in the table everything seems well as. However when I filter by rank (in visual filters) to show only top 20 stores, I have an issue as only 16 values appear. Why is there a mismatch and how can I solve this issue ? 

 

Your help will be much appreciated.
Many thanks!

2 REPLIES 2
Anonymous
Not applicable

Hi @Omarb33 

 

Can you provide your sample pbix file and the results you expect? So that I can help you better.  Please remove any sensitive data in advance.

Best Regards,

Jayleny

amitchandak
Super User
Super User

@Omarb33 , Try the new rank function it is better of to break ties

 

example


New Rank Desne = rank(DENSE, ALLSELECTED('PMP_GSA_itm_stats_v202312_stores'[Store]),ORDERBY([Average Rating],DESC,'PMP_GSA_itm_stats_v202312_stores'[Store] asc ))

 

 

Power BI - New DAX Function: RANK - How It Differs from RANKX: https://youtu.be/TjGkF44VtDo

Share with Power BI Enthusiasts: Full Power BI Video (20 Hours) YouTube
Microsoft Fabric Series 60+ Videos YouTube
Microsoft Fabric Hindi End to End YouTube

Helpful resources

Announcements
New to Fabric survey Carousel

New to Fabric Survey

If you have recently started exploring Fabric, we'd love to hear how it's going. Your feedback can help with product improvements.

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.

Join our Fabric User Panel

Join our Fabric User Panel

Share feedback directly with Fabric product managers, participate in targeted research studies and influence the Fabric roadmap.

March Power BI Update Carousel

Power BI Community Update - March 2026

Check out the March 2026 Power BI update to learn about new features.