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

Learn from the best! Meet the four finalists headed to the FINALS of the Power BI Dataviz World Championships! Register now

Reply
Anonymous
Not applicable

Conditional formatying on a row

Hi experts

Is it possible to conditional format row headers or each row different colours within a standard table with in power bi.
1 ACCEPTED SOLUTION
stretcharm
Memorable Member
Memorable Member

Rows can be coloured with the std conditional formatting, but you have to format each of the columns.

I usually have a colour field that can then be referenced in the Conditional Formatting format by field value.

 

e.g. You can use names or colour numbers

 

MaxValue1Col = SWITCH( max(Table1[Column1]), 1,"Green",2,"Red", "LightBlue")

Headers not with a std table. I think they are working on dynamic format expression that could help in future versions.

 

However you can fake it with 2 tables.

Edit Data to add a new table of the headers. You can the make a table from these and conditional format them

Make the header font the same colour as the background and overlay the header table above the other table.

 

table1.PNG

 

 

View solution in original post

2 REPLIES 2
stretcharm
Memorable Member
Memorable Member

Rows can be coloured with the std conditional formatting, but you have to format each of the columns.

I usually have a colour field that can then be referenced in the Conditional Formatting format by field value.

 

e.g. You can use names or colour numbers

 

MaxValue1Col = SWITCH( max(Table1[Column1]), 1,"Green",2,"Red", "LightBlue")

Headers not with a std table. I think they are working on dynamic format expression that could help in future versions.

 

However you can fake it with 2 tables.

Edit Data to add a new table of the headers. You can the make a table from these and conditional format them

Make the header font the same colour as the background and overlay the header table above the other table.

 

table1.PNG

 

 

Anonymous
Not applicable

Thanks for the excellent feedback much appreciated

Helpful resources

Announcements
Join our Fabric User Panel

Join our Fabric User Panel

Share feedback directly with Fabric product managers, participate in targeted research studies and influence the Fabric roadmap.

February Power BI Update Carousel

Power BI Monthly Update - February 2026

Check out the February 2026 Power BI update to learn about new features.

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.