Bring your best ideas to the AI Use Case Contest! Enter to win 40 hours of expert engineering support and bring your vision to life using the powerful combination of Alteryx + AI. Learn more now, or go straight to the submission form.
Start Free Trial

Alteryx Designer Desktop Discussions

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

Filter true condition

Grace4889
5 - Atom

Basic question here..

 

I'm using the following expression to only show rows with data that have a numeric value of either 96 or 98, but the output data still generate rows that contained other numeric values. 

 

[GLDataType] = 96 OR 98

 

What am I doing wrong.

2 REPLIES 2
flying008
15 - Aurora

Hi, @Grace4889 

 

If  [GLDataType] field type not string, then 

 

 

[GLDataType] = 96 OR [GLDataType] = 98

 

 

but in some case, you need try the condition: 

 

tostring([GLDataType]) = "96" or tostring([GLDataType]) = "98"
binuacs
21 - Polaris

@Grace4889 @You can also write the formula like below

 

[GLDataType] IN (96, 98)

Labels
Top Solution Authors