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
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
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.