Alteryx Designer Desktop Discussions

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

Filter by multiple criteria

JVM15
7 - Meteor

!IsNull([Assignment])
AND
[GLAccount]=("0044574098")
AND
[GLAccount]=("0044574099")

 

I keep getting zero true results when I add the second GL criteria, However if I do just one or the other it runs fine. Does anyone have a better way? I want only those two accounts to populate

5 REPLIES 5
echuong1
Alteryx Alumni (Retired)

The criteria is looking for a record to have both of those account numbers. Try this:

 

!IsNull([Assignment])
AND
([GLAccount]=("0044574098")
OR
[GLAccount]=("0044574099"))

 

BrandonB
Alteryx
Alteryx

It is impossible for the same cell to be two separate GL Accounts simultaneously. I would recommend changing it to the following: 

 

!IsNull([Assignment])
AND
([GLAccount]=("0044574098")
OR
[GLAccount]=("0044574099"))

BrandonB
Alteryx
Alteryx

@echuong1 you are lightning fast to those responses!🙂

JVM15
7 - Meteor

Thanks for the assist!

MarqueeCrew
20 - Arcturus
20 - Arcturus

@JVM15 ,

 

I prefer IN statements:

 

!IsNull([Assignment])
AND
[GLAccount] IN ("0044574098", "0044574099")

 

cheers,

 

mark

Alteryx ACE & Top Community Contributor

Chaos reigns within. Repent, reflect and restart. Order shall return.
Please Subscribe to my youTube channel.
Polls
We’re dying to get your help in determining what the new profile picture frame should be this Halloween. Cast your vote and help us haunt the Community with the best spooky character.
Don’t ghost us—pick your favorite now!
Labels