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

Enhance your career with this limited time 50% discount on Fabric and Power BI exams. Ends August 31st. Request your voucher.

Reply
poweruser55
Helper IV
Helper IV

Blank rows show up when using custom sort order

I have a matrix that has two rows product line and product. I need to custom sort the product line so I created a relationship with the datasource and created a new product line order table and connected them. When I switch ot product line for product line order it shows the numbers correctly but now every product is shown under every product line. How can I remove this so it is only showing rows that contain products under that product line. before.pngafter.png

this is the before and after, I want the first matrix look but with the ordering of second. 

4 REPLIES 4
Anonymous
Not applicable

Hi @poweruser55 ,

 

If it is convenient, can you provide the model relationships between your tables and a sample data or a pbix file(without private data)?

 

Thanks in advance~

 

Best regards,

Community Support Team Selina zhu

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

danextian
Super User
Super User

Hi @poweruser55 ,

 

Are the row columns/fields in your matrix visual from the same table?  If not, is there an existing active relationship between the two?





Dane Belarmino | Microsoft MVP | Proud to be a Super User!

Did I answer your question? Mark my post as a solution!


"Tell me and I’ll forget; show me and I may remember; involve me and I’ll understand."
Need Power BI consultation, get in touch with me on LinkedIn or hire me on UpWork.
Learn with me on YouTube @DAXJutsu or follow my page on Facebook @DAXJutsuPBI.

I have created a relationship between a new table I created and the data source product line where there is also a product column.1.PNG

Can you please share a sanitized copy of your data model?





Dane Belarmino | Microsoft MVP | Proud to be a Super User!

Did I answer your question? Mark my post as a solution!


"Tell me and I’ll forget; show me and I may remember; involve me and I’ll understand."
Need Power BI consultation, get in touch with me on LinkedIn or hire me on UpWork.
Learn with me on YouTube @DAXJutsu or follow my page on Facebook @DAXJutsuPBI.

Helpful resources

Announcements
July 2025 community update carousel

Fabric Community Update - July 2025

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

July PBI25 Carousel

Power BI Monthly Update - July 2025

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