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

Removing any Row with "/" character in specific column .

staceygreene
5 - Atom

I was wondering if anyone could help me remove any row with "/" character in a column. For example :

 

Name      state  code

chase       nc      8586

rob            ga      12/4/

sam           nc       5/5

 

Not exact data just example ...I would want to remove the row with 12/4/ & 5/5 and any other like it. 

2 REPLIES 2
DataNath
17 - Castor
17 - Castor

Hey @staceygreene, if you put a Filter tool on your canvas and use the following expression:

 

!Contains([code],'/')

 

The records you want i.e. those without a '/', will come out of the top (True) anchor. Hope this helps!

JosephSerpis
17 - Castor
17 - Castor

Hi @staceygreene you can use a filter tool to remove any row if / are in one column. I have mocked up an approach which will filter any row that has / in any column in your data in case / are in more than one column.

 

Filter_18012024.JPG

Labels
Top Solution Authors