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

How do you filter on a field based on the value?

Dom
8 - Asteroid

Hello,

 

I need to exclude values from the output on a particular field. Ex. I need to exclude test users from the output. 

 

UID field can be either test, test1, etc.

 

5 REPLIES 5
michael_treadwell
ACE Emeritus
ACE Emeritus

If you need to remove fields of the format test, test1, test2, ..., testN use Dynamic Select with 'Select via Formula'

 

!CONTAINS([Name], 'test')

 

If you need to remove rows from the data, use the Filter tool

Dom
8 - Asteroid

I need to remove rows of data if 'Test' is in the UID field. Does the suggested expression work for a filter as well?

MarqueeCrew
20 - Arcturus
20 - Arcturus

yes

Alteryx ACE & Top Community Contributor

Chaos reigns within. Repent, reflect and restart. Order shall return.
Please Subscribe to my youTube channel.
Dom
8 - Asteroid

filter2.jpgI used the expression in the filter but it only excludes the name and gender but not the row. See attachment

 

jdunkerley79
ACE Emeritus
ACE Emeritus

If you want to exclude the whole row use a filter tool:

filterContains.jpg

Labels