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

The Power BI Data Visualization World Championships is back! It's time to submit your entry. Live 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

The Power BI Data Visualization World Championships is back! It's time to submit your entry.

December 2025 Power BI Update Carousel

Power BI Monthly Update - December 2025

Check out the December 2025 Power BI Holiday Recap!

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.