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

The Fabric community is upgrading! Read all of the details including the timeline and what you can expect. 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
FabCon and SQLCon Barcelona 2026

FabCon & SQLCon – Barcelona 2026

Join us in Barcelona for FabCon and SQLCon, the Fabric, Power BI, SQL, and AI community event. Save €200 with code FABCMTY200.

Power BI DataViz World Championships carousel

Power BI DataViz World Championships - June 2026

A new Power BI DataViz World Championship is coming this June! Don't miss out on submitting your entry.