Community Spring Cleaning week is here! Join your fellow Maveryx in digging through your old posts and marking comments on them as solved. Learn more here!

Alteryx Designer Desktop Discussions

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

Custom Filter Expression

k3pineapple
8 - Asteroid

I would like to simply the Custom Filter scripts here, wondering whether there is way.

 

E.g.

[Application] = "a" AND

[Application] = "b" AND
[Name] != "smith" AND
[Name] != "peter."

 

Is there a way to Omit the repetitive part, in this sample, which are [Application] =  [Name] !=

Tried with [Name] != ("smith" , "peter"), no luck

2 REPLIES 2
alexm06
8 - Asteroid

@k3pineapple I think you're along the right lines. The IN and NOT IN functions might be what you're looking for here. Does the following solve your problem?

 

[Application] IN("a","b") AND
[Name] NOT IN ("smith","peter")

k3pineapple
8 - Asteroid

Yes, that's the function I am looking for, thank you

Labels