Free Trial

Alteryx Designer Desktop Discussions

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

Remove All Instances of Duplicates

Tim_Sullivan
5 - Atom

I have been trying to find a way to remove all instances of duplicate values. I know the unique tool will identify duplicate values but it leaves the first instance. How would I go about doing this?

4 REPLIES 4
atcodedog05
22 - Nova
22 - Nova

Hi @Tim_Sullivan 

 

Here is how you can do it. Use summarize tool to get count and filter count!=1

Workflow:

atcodedog05_0-1629994678651.png

 

Hope this helps : )

 

CharlieS
17 - Castor
17 - Castor

Hi @Tim_Sullivan 

 

I suggest using a Summarize tool to count the record of each value, Filter to records where [Count]=1, and Join those records back to the original. The joined records would be only values that occur once. 

 

20210826-FilterUnique.JPG

 

Check out the attached workflow and let me know if that helps. 

jdunkerley79
ACE Emeritus
ACE Emeritus

Hi,

 

There are a few different ways.

 

jdunkerley79_0-1629994892090.png

 

One different approach to @atcodedog05 is to add a Join tool after the Unique tool. Joining on the unique fields

 

You can then just take the Left output and it will be the uniques.

 

Hope it helps

atcodedog05
22 - Nova
22 - Nova

Wow, that's an interesting method @jdunkerley79 🙂

Will definitely take it for reference 😁

Labels
Top Solution Authors