In case you missed the announcement: The Alteryx One Fall Release is here! Learn more about the new features and capabilities here
ACT NOW: The Alteryx team will be retiring support for Community account recovery and Community email-change requests after December 31, 2025. Set up your security questions now so you can recover your account anytime, just log out and back in to get started. Learn more here
Start Free Trial

Alteryx Designer Desktop Discussions

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

Excluding or deleting rows

chiragpatel_1
8 - Asteroid

Hi, I have a data set in which I'm looking to delete rows based on if a column had the word 'cancelled in it. How do i do this? many thanks

5 REPLIES 5
AngelosPachis
16 - Nebula

Hi @chiragpatel_1 ,

 

Try using a filter tool, and with the basic filter option selected, pick that column of interest from the first dropdown, then from the second drop down select "does not contain" and from the third text box, type "cancelled" (without the quotes)

chiragpatel_1
8 - Asteroid

Thank you!

chiragpatel_1
8 - Asteroid

Another quick q, how would i exclude rows if there is 0 in a specific column? thank you

atcodedog05
22 - Nova
22 - Nova

Hi @chiragpatel_1 

 

You can use combined conditions like below.

 

And condition: both needs to meet

 

[Field1]="cancelled" 
and
[Field2]=0

 

 

Or condition: either needs to meet

 

[Field1]="cancelled" 
or
[Field2]=0

 

 

Workflow:

atcodedog05_0-1635336647838.png

 

Refer this interactive lesson https://community.alteryx.com/t5/Interactive-Lessons/Filtering-Data/ta-p/76301 

 

Hope this helps : )

 

chiragpatel_1
8 - Asteroid

Thank you!

Labels
Top Solution Authors