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

View all the Fabric Data Days sessions on demand. View schedule

Reply
ArchStanton
Impactful Individual
Impactful Individual

Conditional Formatting is in reverse

Hi,

I have a Card visual that i want to show the callout value in green if it is >= 0.9 and red if it is below 1 (100%)

The score is 100% but it is in red not green! What am I doing wrong?

ArchStanton_0-1746615674674.png

 

Card Visual:

ArchStanton_1-1746615730087.png

 

1 ACCEPTED SOLUTION
pankajnamekar25
Super User
Super User

Hello @ArchStanton 

 

Use DAX measure 

KPI Color =

VAR Score = [LatestValue18mths]  -- Replace this with your actual measure name

RETURN

    IF(

        Score >= 0.9,

        "#00B050",   -- Green

        "#FF0000"    -- Red

    )

Thanks,
 Pankaj Namekar | LinkedIn

If this solution helps, please accept it and give a kudos (Like), it would be greatly appreciated.

View solution in original post

2 REPLIES 2
pankajnamekar25
Super User
Super User

Hello @ArchStanton 

 

Use DAX measure 

KPI Color =

VAR Score = [LatestValue18mths]  -- Replace this with your actual measure name

RETURN

    IF(

        Score >= 0.9,

        "#00B050",   -- Green

        "#FF0000"    -- Red

    )

Thanks,
 Pankaj Namekar | LinkedIn

If this solution helps, please accept it and give a kudos (Like), it would be greatly appreciated.

Thank you, that worked!
Before I accept and give a like, do you know why this was happening? I have other cards that seem to work but this particular one didn't. I'm baffled as to why this was happening?

Helpful resources

Announcements
November Power BI Update Carousel

Power BI Monthly Update - November 2025

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

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!

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
Top Kudoed Authors