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

Earn a 50% discount on the DP-600 certification exam by completing the Fabric 30 Days to Learn It challenge.

Reply
BHAVI2803
Frequent Visitor

Rank for Matrix report

Hi Folks,
I need your help to figure out the issue I am facing right now. So I have two Dimension Supplier and their products and one measure sales. I have to create a matrix table that shows top supplier  and their product information along with the sales. I tried to use Rankx along with the Allselected on supplier field, but if their is only supplier in the report the topn filter works perfectly

BHAVI2803_0-1701295135923.png

but when I added product id in the matrix report shows all the supplier 

BHAVI2803_1-1701295191398.png

my requirement is to have only top supplier and their products list not all the products and supplier. I know this is happening because after adding product in the report their rank become 1 thats why they are on the report. But i do not know how to fix this issue. below is the code that I have used for rank 

BHAVI2803_2-1701295449197.png

All the helps are greatly appriciated.
Thank you in advance

1 ACCEPTED SOLUTION
Ahmedx
Super User
Super User
1 REPLY 1
Ahmedx
Super User
Super User

Helpful resources

Announcements
LearnSurvey

Fabric certifications survey

Certification feedback opportunity for the community.

PBI_APRIL_CAROUSEL1

Power BI Monthly Update - April 2024

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

April Fabric Community Update

Fabric Community Update - April 2024

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