Let’s talk Alteryx Copilot. Join the live AMA event to connect with the Alteryx team, ask questions, and hear how others are exploring what Copilot can do. Have Copilot questions? Ask 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"
binuacs
21 - Polaris

@Grace4889 @You can also write the formula like below

 

[GLDataType] IN (96, 98)

Labels
Top Solution Authors