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

Get Fabric Certified for FREE during Fabric Data Days. Don't miss your chance! Request now

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.

Share with Power BI Enthusiasts: Full Power BI Video (20 Hours) YouTube
Microsoft Fabric Series 60+ Videos YouTube
Microsoft Fabric Hindi End to End YouTube

Helpful resources

Announcements
Fabric Data Days Carousel

Fabric Data Days

Advance your Data & AI career with 50 days of live learning, contests, hands-on challenges, study groups & certifications and more!

October Power BI Update Carousel

Power BI Monthly Update - October 2025

Check out the October 2025 Power BI update to learn about new features.

FabCon Atlanta 2026 carousel

FabCon Atlanta 2026

Join us at FabCon Atlanta, March 16-20, for the ultimate Fabric, Power BI, AI and SQL community-led event. Save $200 with code FABCOMM.

Top Solution Authors