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

Get certified in Microsoft Fabric—for free! For a limited time, get a free DP-600 exam voucher to use by the end of 2024. Register now

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
November Carousel

Fabric Community Update - November 2024

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

Live Sessions with Fabric DB

Be one of the first to start using Fabric Databases

Starting December 3, join live sessions with database experts and the Fabric product team to learn just how easy it is to get started.

Las Vegas 2025

Join us at the Microsoft Fabric Community Conference

March 31 - April 2, 2025, in Las Vegas, Nevada. Use code MSCUST for a $150 discount! Early Bird pricing ends December 9th.

Nov PBI Update Carousel

Power BI Monthly Update - November 2024

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