ACT NOW: The Alteryx team will be retiring support for Community account recovery and Community email-change requests Early 2026. Make sure to check your account preferences in my.alteryx.com to make sure you have filled out your security questions. Learn more here
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"
binu_acs
21 - Polaris

@Grace4889 @You can also write the formula like below

 

[GLDataType] IN (96, 98)

Labels
Top Solution Authors