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
Anonymous
Not applicable

Need To Remove(hide) Specific Rows From Matrix Visual in Power BI

Hello All,

I have following Matrix Visual with Field ROWS have 2 Attribute DIM_Program and DIM_Business and COLUMNS have 1 attribute containing last 4(Green) column header and in VALUES field i have  Account Strategy,Technology Support,Transparency(CBI) measure name. My Requiremnt is to show Measure Name "Technology Support" with respect to "DIGITAL_EXCELLENCE" and "Account Strategy" and "Transparency(CBI)" with respect to "MARKETING & SALES EXCELLENCE". How We can do this in Power BI using DAX.

 

 

 

Power BI SC.jpg

 

 

1 ACCEPTED SOLUTION
Icey
Community Support
Community Support

Hi @Anonymous ,

 


 

PBI Hide Specific Rows.png

 


Based on your screenshot, try to create measures like below:

Profit Measure =
IF ( MAX ( 'financials'[Country] ) = "Canada", SUM ( 'financials'[Profit] ) )
Sales Price Measure =
IF (
    MAX ( 'financials'[Country] ) = "France",
    SUM ( 'financials'[Sales Price] )
)
Unit Sold Measure =
IF ( MAX ( 'financials'[Country] ) = "France", SUM ( 'financials'[Unit Sold] ) )

 

 

Best Regards,

Icey

 

If this post helps, then please consider Accept it as the solution to help the other members find it more quickly.

View solution in original post

3 REPLIES 3
Anonymous
Not applicable

Hello Everyone 

Any Update On This

Is it Posible in Power BI Matrix Visual Using DAX?

Anonymous
Not applicable

Hello All 
Lets I Explain to you one more time what i exactly want in my above Post.

I wanted to hide some specific rows value in matrix visual. to show only rectangular highlighted rows. Finally my output look like following. I want to remove unrectangular rows from my matrix visual in Power BI.

With Respect to 

Country = Canada i want to show "Profit" Measure Only and for

Country = France i want to show  " Sales Price" and "Unit Sold" Measure.

Product would be as it is.

 

 

 

PBI Hide Specific Rows.png

 

Icey
Community Support
Community Support

Hi @Anonymous ,

 


 

PBI Hide Specific Rows.png

 


Based on your screenshot, try to create measures like below:

Profit Measure =
IF ( MAX ( 'financials'[Country] ) = "Canada", SUM ( 'financials'[Profit] ) )
Sales Price Measure =
IF (
    MAX ( 'financials'[Country] ) = "France",
    SUM ( 'financials'[Sales Price] )
)
Unit Sold Measure =
IF ( MAX ( 'financials'[Country] ) = "France", SUM ( 'financials'[Unit Sold] ) )

 

 

Best Regards,

Icey

 

If this post helps, then please consider Accept it as the solution to help the other members find it more quickly.

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.