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

Be one of the first to start using Fabric Databases. View on-demand sessions with database experts and the Microsoft product team to learn just how easy it is to get started. Watch now

Reply
vandavarosi
Regular Visitor

RANKX measure in Matrix

Hi Everyone, 

 

I would like to create a Matrix which includes the Customers (in the rows) and the Products (in the column) and the value will be the sales.  For the products, I would like to show only the TOP15 products the rest should go under Other. 

 

I was able to create a measure which shows me the TOP15 and Other of the sales and it is working until I am keeping the product in the rows and not adding the customers. However, once I am adding the customers into the rows and moving the product into the columns the measure is not working anymore. 

 

These are my measures: 

 

vandavarosi_1-1698156462932.png

 

 

vandavarosi_0-1698156382437.png

 

Can you please help?

 

2 REPLIES 2
v-zhangti
Community Support
Community Support

Hi, @vandavarosi 

 

Can you provide sample data for testing? Sensitive information can be removed in advance. What kind of expected results do you expect? You can also show it with pictures or Excel. I look forward to your response.

 

Best Regards,

Community Support Team _Charlotte

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

lbendlin
Super User
Super User

Please provide sample data (with sensitive information removed) that covers your issue or question completely, in a usable format (not as a screenshot). Leave out anything not related to the issue.
If you are unsure how to do that please refer to https://community.fabric.microsoft.com/t5/Community-Blog/How-to-provide-sample-data-in-the-Power-BI-...
Please show the expected outcome based on the sample data you provided.

If you want to get answers faster please refer to https://community.fabric.microsoft.com/t5/Desktop/How-to-Get-Your-Question-Answered-Quickly/m-p/1447...

Helpful resources

Announcements
Las Vegas 2025

Join us at the Microsoft Fabric Community Conference

March 31 - April 2, 2025, in Las Vegas, Nevada. Use code MSCUST for a $150 discount!

ArunFabCon

Microsoft Fabric Community Conference 2025

Arun Ulag shares exciting details about the Microsoft Fabric Conference 2025, which will be held in Las Vegas, NV.

December 2024

A Year in Review - December 2024

Find out what content was popular in the Fabric community during 2024.