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
Roinka
Helper I
Helper I

Conditional formatting rules seem to miss function.

Hi,

Matrix.pngrules.png

 

Please advise, why i only get a red light? results are between 5 to 10 so i should get a yellow light .

I tried percentage instead of number with no luck.

Thanks.

1 ACCEPTED SOLUTION
v-lid-msft
Community Support
Community Support

Hi @Roinka ,

 

you can just change the 5 to the 0.05 and 10 to 0.1, use the number, because the value of you is 7.21%, that means 0.0721.

 

Best regards,

Community Support Team _ Dong Li
If this post helps, then please consider Accept it as the solution to help the other members find it more quickly.

Community Support Team _ Dong Li
If this post helps, then please consider Accept it as the solution to help the other members find it more quickly.

View solution in original post

3 REPLIES 3
DeanWHall
Resolver I
Resolver I

Hi,

 

This is a common misunderstanding with percentage value fields.  Although it looks like you have values between 0 and 100%, the acual value found in the measure is between 0 and 1.

 

In other words your scale for conditional formatting needs to be divided by 100 to work;

 

For example

 

0 = 0%

.05 = 5%

.1 = 10%

 

As soon as you alter the sale in your conditional formatting as above then you will get the desitred outcome.

 

Regards Dean

If this post helps, then please consider Accept it as the solution to help the other members find it more quickly.

 

v-lid-msft
Community Support
Community Support

Hi @Roinka ,

 

you can just change the 5 to the 0.05 and 10 to 0.1, use the number, because the value of you is 7.21%, that means 0.0721.

 

Best regards,

Community Support Team _ Dong Li
If this post helps, then please consider Accept it as the solution to help the other members find it more quickly.

Community Support Team _ Dong Li
If this post helps, then please consider Accept it as the solution to help the other members find it more quickly.
Roinka
Helper I
Helper I

When changing to % :

rules2.png

I get the following:

Matrix2.png

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.