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

Enhance your career with this limited time 50% discount on Fabric and Power BI exams. Ends August 31st. Request your voucher.

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
August Power BI Update Carousel

Power BI Monthly Update - August 2025

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

August 2025 community update carousel

Fabric Community Update - August 2025

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

Top Solution Authors