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
abloor
Helper IV
Helper IV

Conditional Formatting

Hi,

Just wondering if what I want to do is possible.  I'm trying to use Conditonal Formatting on a measure.  It's the % column as pictured below.

If the value of the measure is 100% or more, then, then I want the font colour to be green.

If the value of the measure is 99.9% or less, then I want the font colour to be red.

 

Here's my measure:

Variance % =
DIVIDE([Revenue], [Budget])
 
When I try to add the rule it's not letting me and I'm not sure what I'm doing wrong. It doesn't seem to have the options I am looking for.
 
Can anyone help please?
 
Thanks very much
 
Conditional 1.pngConditional 2.png
1 ACCEPTED SOLUTION
jdbuchanan71
Super User
Super User

@abloor 

When you use the built in percent it is looking at the percent of the values meaning, if you have 10 values and set it to > 90 percent it will format the highest value only.  It has nothing to do with the % number you are displaying.  What you want to use is Number like so:

PctFormat.jpg

View solution in original post

2 REPLIES 2
Nathaniel_C
Super User
Super User

@abloor ,

 

I believe you just need a second rule.

 

If this solves your issues, please mark it as the solution, so that others can find it easily. Kudos are nice too.
Nathaniel

color.PNG

 





Did I answer your question? Mark my post as a solution!

Proud to be a Super User!




jdbuchanan71
Super User
Super User

@abloor 

When you use the built in percent it is looking at the percent of the values meaning, if you have 10 values and set it to > 90 percent it will format the highest value only.  It has nothing to do with the % number you are displaying.  What you want to use is Number like so:

PctFormat.jpg

Helpful resources

Announcements
Europe Fabric Conference

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.

July 2024 Power BI Update

Power BI Monthly Update - July 2024

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

July Newsletter

Fabric Community Update - July 2024

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