In case you missed the announcement: The Alteryx One Fall Release is here! Learn more about the new features and capabilities here
ACT NOW: The Alteryx team will be retiring support for Community account recovery and Community email-change requests after December 31, 2025. Set up your security questions now so you can recover your account anytime, just log out and back in to get started. Learn more here
Start Free Trial

Alteryx Designer Desktop Discussions

Find answers, ask questions, and share expertise about Alteryx Designer Desktop and Intelligence Suite.
SOLVED

Filter Out ( Not Equals) different values using the OR operand

Karl_Spratt
8 - Asteroid

Hi Community,

I'm trying to Filter Out ( Not Equals) different values using the OR operand, but it's not working, If I use one value say [L_ORDER_STATUS] != "Offer Expired" the filter works, but if I add additional criteria using the OR if doesn't work  for me.

Can someone explain to me the issue / fix.

i want to bring back all the L_ORDER_STATUS except these values.

 

Filter out Multiple Values using OR 

[L_ORDER_STATUS] != "Offer Expired"
OR
[L_ORDER_STATUS] != "Draft"
OR
[L_ORDER_STATUS] != "Entered"

 

TIA,

Karl. 

 

3 REPLIES 3
binu_acs
21 - Polaris

@Karl_Spratt Use the AND operator instead of OR

 

[L_ORDER_STATUS] != "Offer Expired"
AND
[L_ORDER_STATUS] != "Draft"
AND
[L_ORDER_STATUS] != "Entered"

Christina_H
14 - Magnetar

You need to switch your ORs to ANDs.  If the value is "Draft, it meets the criteria !="Entered".  With OR, as long as it meets one of the criteria the result will be TRUE, so it passes through.

 

NOT(A OR B OR C) is the same as NOT A AND NOT B AND NOT C

 

Alternatively, you could use NOT IN("Offer Expired","Draft","Entered")

Karl_Spratt
8 - Asteroid

Thanks all that worked.

Cheers Karl. 

Labels
Top Solution Authors