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

Find everything you need to get certified on Fabric—skills challenges, live sessions, exam prep, role guidance, and more. Get started

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
Fabcon_Europe_Social_Bogo

Europe’s largest Microsoft Fabric Community Conference

Join the community in Stockholm for expert Microsoft Fabric learning including a very exciting keynote from Arun Ulag, Corporate Vice President, Azure Data.

Power BI Carousel June 2024

Power BI Monthly Update - June 2024

Check out the June 2024 Power BI update to learn about new features.

PBI_Carousel_NL_June

Fabric Community Update - June 2024

Get the latest Fabric updates from Build 2024, key Skills Challenge voucher deadlines, top blogs, forum posts, and product ideas.

RTI Forums Carousel3

New forum boards available in Real-Time Intelligence.

Ask questions in Eventhouse and KQL, Eventstream, and Reflex.