Alteryx Designer Desktop Discussions

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

multiple number filters

ntudev
8 - Asteroid

why isn't my filter formula not working?

 

[Profit Center Number] in ('73','30')

 

am i doing this wrong?

2 REPLIES 2
binuacs
20 - Arcturus

@ntudev Check your data type of the field profit centre number whether it is numeric or string type?

Felipe_Ribeir0
16 - Nebula

Hi @ntudev 

 

Your formula is correct, i think that the problem here is the data type of the column. Take a look at the data type of the Profit Center Number column.

 

If Profit Center Number is a string

[Profit Center Number] in ('73', '30')

 

If Profit Center Number is a number

[Profit Center Number] in (73, 30)

 

I attached one example for you.

Felipe_Ribeir0_1-1665179795055.png

 

If the provided answer helped you to solve the problem/was correct, please accept it as a solution :)

 

Thanks.

 

Labels