Community Spring Cleaning week is here! Join your fellow Maveryx in digging through your old posts and marking comments on them as solved. Learn more here!

Alteryx Designer Desktop Discussions

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

Filter tool - conditional filter

oracleoftemple
9 - Comet

I'm using a Filter tool to whittle down my data a bit.  All of my filters so far are just based on one field.  I'd like to do another filter that's contingent on another field.  We have multiple different Journal Source names.  I'd like to filter out all records that begin with JM, CA, and JV, but only for those records of Journal Source "MC FS OTHER."

 

Capture.PNG

4 REPLIES 4
kat
12 - Quasar

Hi @oracleoftemple

 

Try 

[Journal Source] = 'MC FS OTHER' 
AND
left([Journal Category],2) in ('JM','CA','JV')

You can string together as many conditions as you like with AND/OR

oracleoftemple
9 - Comet

@kat This would send them out through the T side right?  if I want those ones to go out through the F side, how would I do that?

oracleoftemple
9 - Comet

Should this do the trick?

 

!([Journal Source] = 'MC FS OTHER'
AND
left([Journal Category],2) in ('JM','CA','JV'))

kat
12 - Quasar

@oracleoftemple - the easiest will be to just wrap the whole argument in brackets and put an exclamation mark in front of it. This makes the whole filter negative, i.e. opposite way round.

 

!(function)
Labels