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

The Power BI Data Visualization World Championships is back! Get ahead of the game and start preparing now! Learn more

Reply
SanketBhagwat
Solution Sage
Solution Sage

Disable values for specific rows in a matrix

Is there a way I can disable the values for specific rows in a matrix visual?

Lets say I have 4 rows in my matrix and I want to show the value just for the 3rd level.

See attached screenshot.
bomqty is basically a SUM(bomqty) and second column is its Average.

I want to show the value 40,524 just for 'COLLAR, BOBTAIL HUCK, BTC5-R12GAHL PART SHOWN ON ALCOA 10660' this level and return blank for all other rows.

SanketBhagwat_0-1649226293692.png

Thanks,
Sanket

1 ACCEPTED SOLUTION

This should work (see the structure of the rows to follow the flow of the measure):
filter rows.jpg

 

 

Filter matrix rows =
IF (
    ISINSCOPE ( 'DIM Product Ref'[DProduct REF] ),
    BLANK (),
    IF ( ISINSCOPE ( 'DIM Item'[Item] ), [Sum of Sales], BLANK () )
)

 

 

So basically you are writing the IFs from the lowest hierarchy up





Did I answer your question? Mark my post as a solution!
In doing so, you are also helping me. Thank you!

Proud to be a Super User!
Paul on Linkedin.






View solution in original post

3 REPLIES 3
PaulDBrown
Community Champion
Community Champion

You ca use the ISINSCOPE function. Something along the lines of (Let's say the level you wish to display is Table[display]):

Show = IF(ISINSCOPE(Table[display]), [your measure])





Did I answer your question? Mark my post as a solution!
In doing so, you are also helping me. Thank you!

Proud to be a Super User!
Paul on Linkedin.






@PaulDBrown Thanks for the solution. It helped me for the above test but need to hide the lower level too.

SanketBhagwat_1-1649229167116.png

 

This should work (see the structure of the rows to follow the flow of the measure):
filter rows.jpg

 

 

Filter matrix rows =
IF (
    ISINSCOPE ( 'DIM Product Ref'[DProduct REF] ),
    BLANK (),
    IF ( ISINSCOPE ( 'DIM Item'[Item] ), [Sum of Sales], BLANK () )
)

 

 

So basically you are writing the IFs from the lowest hierarchy up





Did I answer your question? Mark my post as a solution!
In doing so, you are also helping me. Thank you!

Proud to be a Super User!
Paul on Linkedin.






Helpful resources

Announcements
Power BI DataViz World Championships

Power BI Dataviz World Championships

The Power BI Data Visualization World Championships is back! Get ahead of the game and start preparing now!

December 2025 Power BI Update Carousel

Power BI Monthly Update - December 2025

Check out the December 2025 Power BI Holiday Recap!

FabCon Atlanta 2026 carousel

FabCon Atlanta 2026

Join us at FabCon Atlanta, March 16-20, for the ultimate Fabric, Power BI, AI and SQL community-led event. Save $200 with code FABCOMM.