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

Register now to learn Fabric in free live sessions led by the best Microsoft experts. From Apr 16 to May 9, in English and Spanish.

Reply
Anonymous
Not applicable

Conditional formatting in Card is not working as expected for measures in percentages

Hi,

 

I am using a measure oee2% in the card visualization, This is a percentage field as shown below.

I have created a rule so that all the values above 67 %, the data label should be green, it should show red otherwise,

but for some reason its showing red always and not showing green even when the value is 67 or greater, can you please correct me as to what am i doing wrong here.

 

Card selections.PNG

1 ACCEPTED SOLUTION
Sean
Community Champion
Community Champion

@Anonymous 

The % sign is only a formatting option
67% represents the number 0.67 and 100% represents the number 1.00

So change the 67 to 0.67 and the 100 to 1 in the conditional formatting dialog box

That should do it!😀

View solution in original post

3 REPLIES 3
Sean
Community Champion
Community Champion

@Anonymous 

The % sign is only a formatting option
67% represents the number 0.67 and 100% represents the number 1.00

So change the 67 to 0.67 and the 100 to 1 in the conditional formatting dialog box

That should do it!😀

Anonymous
Not applicable

Thank you. This works. I had actually tried giving it as 0.67 and 1, now i change 1 to 1.00 and 0 as 0.00, it worked fine 🙂

amitchandak
Super User
Super User

Is it defined in conditional formatting, font color?

 

Seem like correct, unless defined at the wrong place.

Helpful resources

Announcements
Microsoft Fabric Learn Together

Microsoft Fabric Learn Together

Covering the world! 9:00-10:30 AM Sydney, 4:00-5:30 PM CET (Paris/Berlin), 7:00-8:30 PM Mexico City

PBI_APRIL_CAROUSEL1

Power BI Monthly Update - April 2024

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

April Fabric Community Update

Fabric Community Update - April 2024

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