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,
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.
- v-ssriganesh1 year agoCommunity Support
Hi subhamsharma1-2,
I hope this information is helpful. Please let me know if you have any further questions or if you'd like to discuss this further. If this answers your question, please accept it as a solution and give it a 'Kudos' so other community members with similar problems can find a solution faster.
Thank you.