Advent of Code is back! Unwrap daily challenges to sharpen your Alteryx skills and earn badges along the way! Learn more now.

Alteryx Designer Desktop Discussions

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

Formula to filter for information by particular names

suds144
8 - Asteroid

Hi Everyone,

 

I'm trying to filter event names by the administrator attached to it. I've tried to create a formula (and also used the join tool) but am unable to successfully filter information out.  I could do this in excel but it would take time and I'm hoping alteryx will help.

Ideally, I need to filter for information that only has admin name "CC" in it.

 

Input

suds144_0-1648040459835.png

 

Ideal Output:

suds144_1-1648040500374.png

 

Thank you!

5 REPLIES 5
Luke_C
17 - Castor
17 - Castor

Hi @suds144 

 

You would use a filter tool with the 'contains' function:

Luke_C_0-1648040685998.png

 

 

Alteryx_AR
12 - Quasar

Hey @suds144  You can also use Contains or In function  -

ArtiRajput_0-1648043544192.png

 

 

suds144
8 - Asteroid

Thank you! What if there are various different names in place of "CC". To modify the formula in Contains should I just add a comma?

Luke_C
17 - Castor
17 - Castor

Hi @suds144 

 

Contains only allows one string. You would need to do an OR clause like the below. 

 

Luke_C_0-1648044838480.png

 

 

suds144
8 - Asteroid

Thank you everyone!

Labels