Advent of Code is back! Unwrap daily challenges to sharpen your Alteryx skills and earn badges along the way! Learn more now.

Alteryx Designer Desktop Discussions

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

Filtering by more than one term

BillyL14
8 - Asteroid

Hi

I am trying to filter by more than one term. I tried

 

[Code] = "AAA" and "BBB" and "CCC"

 

but it doesn't work.

 

What is the correct way to do this?

 

Thanks

3 REPLIES 3
Emil_Kos
17 - Castor
17 - Castor

Hi @BillyL14 we meet again,

 

Please look at this topic:

 

https://community.alteryx.com/t5/Alteryx-Designer-Discussions/WHERE-IN-Statement-in-Custom-Filter/td...

 

I cannot test it now but I think the answer would be 

 

[Code] in ("AAA","BBB","CCC") 

jdunkerley79
ACE Emeritus
ACE Emeritus

Probably the simplest expression is:

[Code] in ("AAA","BBB","CCC")

 

purnimat
7 - Meteor

Hi @BillyL14 ,

 

Slight modification: [Code] = "AAA" and [Code] = "BBB" and [Code] = "CCC".

 

Try this and let me know if this helps.

Labels