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

Earn the coveted Fabric Analytics Engineer certification. 100% off your exam for a limited time only!

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
April AMA free

Microsoft Fabric AMA Livestream

Join us Tuesday, April 09, 9:00 – 10:00 AM PST for a live, expert-led Q&A session on all things Microsoft Fabric!

March Fabric Community Update

Fabric Community Update - March 2024

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