Forum Discussion
Power BI Matrix Visual Hierarchy Issue
- 1 year ago
Hi subhamsharma1-2,
Thank you for reaching out to the Microsoft Fabric Community Forum.I have reproduced your scenario in Power BI Desktop and can confirm that I achieved the expected output as per your requirement the specific row (e.g., “Internal Partners”) is visually hidden in the matrix visual without affecting the totals or subtotals.
- Created a display column in the dimension table using DAX:
BusinessType Display = IF( 'BusinessTypeTable'[BusinessType] = "Internal Partners", BLANK(), 'BusinessTypeTable'[BusinessType] )- Used this new field (BusinessType Display) in the Rows section of the matrix visual.
- This hides the unwanted row label while still keeping its values in the subtotal.
Output:
Only “Gated Partners” and “Non-Gated Partners” appear under “Partner Program” in the matrix, but the hidden category's data is still included in the total.
For your reference, I’m attaching the .pbix file used to reproduce and test this scenario. You can explore or adapt it as needed.
If this information is helpful, please “Accept as solution” and give a "kudos" to assist other community members in resolving similar issues more efficiently.
Thank you.
Hi subhamsharma1-2,
I wanted to check if you had the opportunity to review the information provided. Please feel free to contact us if you have any further questions. If my response has addressed your query, please accept it as a solution and give a 'Kudos' so other members can easily find it.
Thank you.