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

Calling all Data Engineers! Fabric Data Engineer (Exam DP-700) live sessions are back! Starting October 16th. Sign up.

Reply
Piotr123
New Contributor II

category and subcategory in matrix

In my table, not every index has a subcategory. How can I hide the empty rows in a matrix visual?

 

Piotr123_0-1756803546563.png

 

 

 

Piotr123_1-1756803339525.png

 

 

5 REPLIES 5
MasonMA
Valued Contributor II

Hello @Piotr123 

 

The most straightforward way would be applying a filter on Subcategory level. 

MasonMA_0-1756826596374.png

 

Piotr123
New Contributor II

Hello MasonMA,

Thank you for your response.

When I apply the filter this way, the Index data disappears. My goal is to keep all the data intact and remove only the empty subcategory headers.

Do you have any ideas how to achieve this?

 

MasonMA
Valued Contributor II

Hello @Piotr123 

 

Then i would suggest using Minimal for Style, Tabular for Layout and disabling +/- icon under Row headers. 

MasonMA_1-1756901765842.png

 

 

Piotr123
New Contributor II

Thank you

 

It seems this issue might be related to a ragged hierarchy, which could potentially be addressed using a DAX measure based on a parent-child hierarchy. However, I'm not entirely sure how to implement such DAX measure 

MasonMA
Valued Contributor II

@Piotr123 

Please show the expected layout in Excel so that other users can come up with a solution. 

Helpful resources

Announcements
Users online (26)