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

Vote for your favorite vizzies from the Power BI Dataviz World Championship submissions. Vote now!

Reply
Anonymous
Not applicable

Create group "Other" based on sales per month

I have a one-pager showing all different kind of data as a monthly report.

To show the sales I use an Matrix listing all customers ranked by sales (from high to low). 

Currently, all customers is displayed and the matrix becomes very long (or not fully displayed if decreasing the window) 

I want to show 9 customers on the list (the 9 highest for the month) and the last "Customer" should be named "Other" were all others are group together.

The 9 customers could vary depending on the sales of individual month.

In the matrix I have today "Customers" as rows and "Total Sales" as values.

 

Any proposed solution?

 

2 REPLIES 2
Anonymous
Not applicable

Hey @rubayatyasmin 

 

Solution "TopN" works but how do I sort when using customer names instead of numbers as in the example?

 

I want to sort so that "Other" always is in the bottom even if the total value of "Other" is higher then last TopN value 

(e.g. Others sum up to 100k and customer 10 has 80k)

rubayatyasmin
Community Champion
Community Champion

Hey, @Anonymous 

 

Use TOPN dax func

 

refer: https://learn.microsoft.com/en-us/dax/topn-function-dax

 

I found a similar thread that might help: 

 

Solved: TopN and "Other" filtered by month - Microsoft Fabric Community

 

Solved: Creating a group of "others" by total sales - Microsoft Fabric Community

 

rubayatyasmin_0-1689517080227.png


Did I answer your question? Mark my post as a solution!super-user-logo

Proud to be a Super User!


Helpful resources

Announcements
Power BI DataViz World Championships

Power BI Dataviz World Championships

Vote for your favorite vizzies from the Power BI World Championship submissions!

Sticker Challenge 2026 Carousel

Join our Community Sticker Challenge 2026

If you love stickers, then you will definitely want to check out our Community Sticker Challenge!

January Power BI Update Carousel

Power BI Monthly Update - January 2026

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

FabCon Atlanta 2026 carousel

FabCon Atlanta 2026

Join us at FabCon Atlanta, March 16-20, for the ultimate Fabric, Power BI, AI and SQL community-led event. Save $200 with code FABCOMM.