Join us at FabCon Atlanta from March 16 - 20, 2026, for the ultimate Fabric, Power BI, AI and SQL community-led event. Save $200 with code FABCOMM.
Register now!The Power BI Data Visualization World Championships is back! Get ahead of the game and start preparing now! Learn more
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.
this is the before and after, I want the first matrix look but with the ordering of second.
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
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?
I have created a relationship between a new table I created and the data source product line where there is also a product column.
Can you please share a sanitized copy of your data model?
The Power BI Data Visualization World Championships is back! Get ahead of the game and start preparing now!
Check out the November 2025 Power BI update to learn about new features.
| User | Count |
|---|---|
| 66 | |
| 48 | |
| 43 | |
| 26 | |
| 19 |
| User | Count |
|---|---|
| 198 | |
| 126 | |
| 102 | |
| 67 | |
| 50 |