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

Earn the coveted Fabric Analytics Engineer certification. 100% off your exam for a limited time only!

Reply
Anonymous
Not applicable

Only display top 10 and label the rest as "Other"

Hello! 

 

I have the following question: 

I am displaying multiple categories (for sold products) on a monthly basis and I only want to display the names of the top 10 categories and summarize the remaining in the new category "Other". 

 

Is there a dynamic command for this?

 

Thank you in advance!

 

1 ACCEPTED SOLUTION
Payeras_BI
Super User
Super User

Hi @Anonymous ,

 

Beautifully explained here:

 

https://www.sqlbi.com/articles/showing-the-top-5-products-and-others-row/ 

 

Regards,

If this post answered your question, please mark it as a solution to help other users find useful content.
Kudos are another nice way to acknowledge those who tried to help you.

J. Payeras
Mallorca, Spain

View solution in original post

1 REPLY 1
Payeras_BI
Super User
Super User

Hi @Anonymous ,

 

Beautifully explained here:

 

https://www.sqlbi.com/articles/showing-the-top-5-products-and-others-row/ 

 

Regards,

If this post answered your question, please mark it as a solution to help other users find useful content.
Kudos are another nice way to acknowledge those who tried to help you.

J. Payeras
Mallorca, Spain

Helpful resources

Announcements
April AMA free

Microsoft Fabric AMA Livestream

Join us Tuesday, April 09, 9:00 – 10:00 AM PST for a live, expert-led Q&A session on all things Microsoft Fabric!

March Fabric Community Update

Fabric Community Update - March 2024

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

Top Solution Authors