The Alteryx Community is a finalist in three 2026 CMX Awards! Help us win Customer Support Community, Most Engaged Community, and User Group Program of the Year - vote now! (it only takes about 2 minutes) before January 9.
ACT NOW: The Alteryx team will be retiring support for Community account recovery and Community email-change requests Early 2026. Make sure to check your account preferences in my.alteryx.com to make sure you have filled out your security questions. Learn more here
Start Free Trial

Alteryx Designer Desktop Discussions

Find answers, ask questions, and share expertise about Alteryx Designer Desktop and Intelligence Suite.
RÉSOLU

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

Karl_Spratt
Astéroïde

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 RÉPONSES 3
binu_acs
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
Magnétar

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
Astéroïde

Thanks all that worked.

Cheers Karl. 

Étiquettes
Auteurs des meilleures solutions