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

Register now to learn Fabric in free live sessions led by the best Microsoft experts. From Apr 16 to May 9, in English and Spanish.

Reply
Anonymous
Not applicable

Ranking not working!

Hi, I hope you could help me with this one!

 

I created a new column to rank categories according to sales, since I wanted to show our top 10 categories. It worked fine in the table.

Capturar_2.PNG

 

However, when I try to build a visualisation table, it only returns some of the ranks, as you can see:

 
 
 

 

Capturar.PNG

 

 

How can I solve this? I have zero filters working, by the way!

 

Thank you!

 

Silvia

1 ACCEPTED SOLUTION
ibarrau
Super User
Super User

Hi. Yes there are two ways to solve this.

In the filter pane under categories you should find that there is a "TOP N" filter. You can use that for a visualization.

Top NTop N

Just add the value and the number of the ranking categories.

 

Other way and the most difficult is creating a measure instead of a column like this site suggestion:

https://www.sqlbi.com/articles/filtering-the-top-3-products-for-each-category-in-power-bi/

 

Regards,

If this post helps, then please consider Accept it as the solution to help the other members find it more quickly.

 


If this post helps, then please consider Accept it as the solution to help the other members find it more quickly.

Happy to help!

LaDataWeb Blog

View solution in original post

2 REPLIES 2
ibarrau
Super User
Super User

Hi. Yes there are two ways to solve this.

In the filter pane under categories you should find that there is a "TOP N" filter. You can use that for a visualization.

Top NTop N

Just add the value and the number of the ranking categories.

 

Other way and the most difficult is creating a measure instead of a column like this site suggestion:

https://www.sqlbi.com/articles/filtering-the-top-3-products-for-each-category-in-power-bi/

 

Regards,

If this post helps, then please consider Accept it as the solution to help the other members find it more quickly.

 


If this post helps, then please consider Accept it as the solution to help the other members find it more quickly.

Happy to help!

LaDataWeb Blog

Anonymous
Not applicable

Thank you, I used the first solution and it worked! 🙂

Helpful resources

Announcements
Microsoft Fabric Learn Together

Microsoft Fabric Learn Together

Covering the world! 9:00-10:30 AM Sydney, 4:00-5:30 PM CET (Paris/Berlin), 7:00-8:30 PM Mexico City

PBI_APRIL_CAROUSEL1

Power BI Monthly Update - April 2024

Check out the April 2024 Power BI update to learn about new features.

April Fabric Community Update

Fabric Community Update - April 2024

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