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

Conditional bacground color row header

Howdy,

I am trying to make an income statement and I tried to highlight some rows of it like EBITDA as shown in the image below. So far I got to do so with the values but I  have not figured it out to do so on the row headers. This is a matrix visual.

 

DataScientistR_0-1622600816886.png

 

1 ACCEPTED SOLUTION
v-jingzhang
Community Support
Community Support

Hi @Anonymous 

 

Currently Conditional Formatting only applies to Values fields, not Rows/Columns fields in a Matrix. So it is not supported to format the background color of row headers conditionally.

 

Regards,
Community Support Team _ Jing

View solution in original post

3 REPLIES 3
v-jingzhang
Community Support
Community Support

Hi @Anonymous 

 

Currently Conditional Formatting only applies to Values fields, not Rows/Columns fields in a Matrix. So it is not supported to format the background color of row headers conditionally.

 

Regards,
Community Support Team _ Jing

amitchandak
Super User
Super User

@Anonymous , You can create a measure like

if(max(Table[GYP_gestion]) = "EBITDA", "yellow", "white")

 

You can use the same in conditional formatting with field values option, You have to do conditional formatting for all columns, there is not row option

 

Conditional formatting the Pie Visual: https://community.powerbi.com/t5/Community-Blog/Power-BI-Conditional-formatting-the-Pie-Visual/ba-p/1682539

Share with Power BI Enthusiasts: Full Power BI Video (20 Hours) YouTube
Microsoft Fabric Series 60+ Videos YouTube
Microsoft Fabric Hindi End to End YouTube
Anonymous
Not applicable

@amitchandak  I dont follow. Where is the option to set a condition for "Rows"?. The field I am trying to set a condition on is "GyP_Gestion".

DataScientistR_0-1622648840110.png

 

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.