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
GeekyT
Helper II
Helper II

Conditional Formatting Not Working

Hi,

Can anyone tell me why the State column from line 2 onwards are not green please? (Today's date is the 26th Feb 2021)

GeekyT_1-1614354566085.png

 

 

1 ACCEPTED SOLUTION
AlexisOlson
Super User
Super User

SWITCH returns the first result that matches, so it never gets to the Green condition (since if it satisfies the Green condition it necessarily satisfies the Yellow condition first).

 

Try swapping the Yellow and Green lines to put the more restrictive condition first.

View solution in original post

2 REPLIES 2
AlexisOlson
Super User
Super User

SWITCH returns the first result that matches, so it never gets to the Green condition (since if it satisfies the Green condition it necessarily satisfies the Yellow condition first).

 

Try swapping the Yellow and Green lines to put the more restrictive condition first.

@AlexisOlsonSimple as that! Many thanks.

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.