Get Inspire insights from former attendees in our AMA discussion thread on Inspire Buzz. ACEs and other community members are on call all week to answer!

Alteryx Designer Desktop Discussions

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

Remove specific duplicate records

jenner85
8 - Asteroid

Hi - I want to filter out the file where I have a "revised" file name. What is the best way to do this:

 

jenner85_0-1612985870997.png

 

 

For example, I want to get rid of Feb 2013 and be left with Feb 2013-REVISED. thanks! 

 

4 REPLIES 4
pedrodrfaria
13 - Pulsar

Hi @jenner85 

 

See below for the workflow:

 

pedrodrfaria_0-1612986449882.png

I'm using regex to clean up the fields to then flag the revised fields and using the sort and the unique to remove the unflagged duplicates.

 

This should do the trick.

 

Pedro.

jenner85
8 - Asteroid

Hi @pedrodrfaria thanks for the workflow. Some of the file names don't have a space in them, can you help me with adjusting the regex to catch these as well? 

jenner85_0-1612990028504.png

 

pedrodrfaria
13 - Pulsar

@jenner85 

 

I tested with two rows without spaces and it worked. The regex is already considering the lack of spacing.

jenner85
8 - Asteroid

@pedrodrfaria 

 

You're right. The issue seems to be here, where it's not removing it when revised is not spaced from the year:

 

jenner85_0-1613053327072.png

 

Labels