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

Enhance your career with this limited time 50% discount on Fabric and Power BI exams. Ends September 15. Request your voucher.

Reply
adam_macs
Helper I
Helper I

Background colour - Conditional Formatting

Hi, i have a measure that tracks sales against a target and i would like the background color to change to:

  • green if greater than the target
  • red if less than the target
  • amber if within 5% of the target

Is it possible to do this within conditional formatting box or does a new measure have to created? I have no idea where to start by applying this logic to the conditional formatting. 

 

adam_macs_0-1655118978955.png

 

1 ACCEPTED SOLUTION
Hariharan_R
Solution Sage
Solution Sage

Hi,

if you have static values to define the conditional formatting colors then you can use GUI like your screenshot but if you want to compare two different measures or values then you need to use measure and use that measure on the conditional formatting.

 

Thanks

Hari

View solution in original post

1 REPLY 1
Hariharan_R
Solution Sage
Solution Sage

Hi,

if you have static values to define the conditional formatting colors then you can use GUI like your screenshot but if you want to compare two different measures or values then you need to use measure and use that measure on the conditional formatting.

 

Thanks

Hari

Helpful resources

Announcements
August Power BI Update Carousel

Power BI Monthly Update - August 2025

Check out the August 2025 Power BI update to learn about new features.

August 2025 community update carousel

Fabric Community Update - August 2025

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