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

Get Fabric Certified for FREE during Fabric Data Days. Don't miss your chance! Learn more

Reply
bsuneja
New Member

Changing background color of a row based on value of one cell

Using conditional formatting, you can change background color of a single cell in a Table.


Is there a way to change background color of an entire row based on value of one cell?

 

powerbi-conditional-1.pngpowerbi-conditional-2.png

1 ACCEPTED SOLUTION
Ritaf1983
Super User
Super User

Hi @bsuneja 
If you using a table with different measures as columns, you need to modify it one by one.

For example, i wanted all my columns of "a" value to be blue:

Ritaf1983_0-1691465060554.png

I just needed to format all 3 columns in the same way and didn't format a column with "a" at all

Ritaf1983_1-1691465139429.png

Link to a sample file 

 

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

 

Regards,
Rita Fainshtein | Microsoft MVP
https://www.linkedin.com/in/rita-fainshtein/
Blog : https://www.madeiradata.com/profile/ritaf/profile

View solution in original post

1 REPLY 1
Ritaf1983
Super User
Super User

Hi @bsuneja 
If you using a table with different measures as columns, you need to modify it one by one.

For example, i wanted all my columns of "a" value to be blue:

Ritaf1983_0-1691465060554.png

I just needed to format all 3 columns in the same way and didn't format a column with "a" at all

Ritaf1983_1-1691465139429.png

Link to a sample file 

 

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

 

Regards,
Rita Fainshtein | Microsoft MVP
https://www.linkedin.com/in/rita-fainshtein/
Blog : https://www.madeiradata.com/profile/ritaf/profile

Helpful resources

Announcements
Fabric Data Days Carousel

Fabric Data Days

Advance your Data & AI career with 50 days of live learning, contests, hands-on challenges, study groups & certifications and more!

October Power BI Update Carousel

Power BI Monthly Update - October 2025

Check out the October 2025 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.

Top Solution Authors