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

Don't miss out! 2025 Microsoft Fabric Community Conference, March 31 - April 2, Las Vegas, Nevada. Use code MSCUST for a $150 discount. Prices go up February 11th. Register now.

Reply
Vidharthi
Frequent Visitor

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 @Vidharthi ,

 


 

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
Vidharthi
Frequent Visitor

Hello Everyone 

Any Update On This

Is it Posible in Power BI Matrix Visual Using DAX?

Vidharthi
Frequent Visitor

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 @Vidharthi ,

 


 

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
Las Vegas 2025

Join us at the Microsoft Fabric Community Conference

March 31 - April 2, 2025, in Las Vegas, Nevada. Use code MSCUST for a $150 discount! Prices go up Feb. 11th.

Jan25PBI_Carousel

Power BI Monthly Update - January 2025

Check out the January 2025 Power BI update to learn about new features in Reporting, Modeling, and Data Connectivity.

Jan NL Carousel

Fabric Community Update - January 2025

Find out what's new and trending in the Fabric community.