cancel
Showing results for 
Search instead for 
Did you mean: 
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
Memorable Member
Memorable Member

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
Memorable Member
Memorable Member

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

@AlexisOlsonSimple as that! Many thanks.

Helpful resources

Announcements
PBI User Groups

Welcome to the User Group Public Preview

Check out new user group experience and if you are a leader please create your group

March Update

Check it Out!

Click here to read more about the March 2021 Updates!

secondImage

The largest Power BI virtual conference

100+ sessions, 100+ speakers, Product managers, MVPs, and experts. All about Power BI. Attend online or watch the recordings.

secondImage

Experience what’s next for Power BI

See the latest Power BI innovations, updates, and demos from the Microsoft Business Applications Launch Event.