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.
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
Top Solution Authors