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

Prepping for a Fabric certification exam? Join us for a live prep session with exam experts to learn how to pass the exam. Register now.

Reply
JLiljedahl
Helper I
Helper I

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
JLiljedahl
Helper I
Helper I

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
Super User
Super User

Hey, @JLiljedahl 

 

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
PBIApril_Carousel

Power BI Monthly Update - April 2025

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

Notebook Gallery Carousel1

NEW! Community Notebooks Gallery

Explore and share Fabric Notebooks to boost Power BI insights in the new community notebooks gallery.

April2025 Carousel

Fabric Community Update - April 2025

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