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

View all the Fabric Data Days sessions on demand. View schedule

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
November Power BI Update Carousel

Power BI Monthly Update - November 2025

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

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!

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
Top Kudoed Authors