Advent of Code is back! Unwrap daily challenges to sharpen your Alteryx skills and earn badges along the way! Learn more now.
Community is experiencing an influx of spam. As we work toward a solution, please use the 'Notify Moderator' option on the ellipsis menu to flag inappropriate posts.

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