Free Trial

Alteryx Designer Desktop Discussions

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

Filter with Multiple Conditions not Working

cro159
7 - Meteor
 

Having an issue with a filter where I'm trying to use either an OR function or an IN function and both aren't working.  Example is shown with the IN error.

Set up the OR one [Field] = "1" or [Field] = "2" and that isn't working either.

7 REPLIES 7
Amy_smart
11 - Bolide

Hi, 

 

Have you tried converting the field to a string first?

 

Thanks,

Amy

alexnajm
17 - Castor
17 - Castor

What data type is your field in?

alexnajm
17 - Castor
17 - Castor

[OrdTypGrpCd] is likely being stored numerically beforehand - changing it to a string should fix this. 

 

If you have a sample of the data, that would be useful to test!

cro159
7 - Meteor

Yes, initially it was a V_string and then I changed it to just string and that still didn't work

apathetichell
19 - Altair

if it's a number use IN(2008,2010) - If it's a string use IN("2008","2010") 

 

If you try the above and are still getting an error - your error is somewhere else - it's just being flagged here.

alexnajm
17 - Castor
17 - Castor

Can you show me the configuration of the workflow? And a screenshot of the Select tool that's changing the data type?

cro159
7 - Meteor

Was able to figure out the error, thanks for your time

Labels
Top Solution Authors