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

Identifying unique records

johnrexrima_19
8 - Asteroid

Hi,

 

I am trying to identify records with duplicate within the same column. I initially used summarize tool but I don't have possible data to group them as the data from other columns also have duplicates. What other tools can I use instead?

 

Thank you.

4 REPLIES 4
grazitti_sapna
17 - Castor

Hi @johnrexrima_19  can you provide a sample dataset for investigation?

Sapna Gupta
RolandSchubert
16 - Nebula
16 - Nebula

Hi @johnrexrima_19 ,

 

what about using the Unique tool? You can select the field you want to check for duplicates, the "U" anchor will return the first row containing a value for this field, the "D" anchor all duplicates. What do you think?

 

Best,

 

Roland

echuong1
Alteryx Alumni (Retired)

Are you trying to identify unique values and get the first instance if there are duplicates, or are you trying to identify only unique values and pull out any instance of two or more?

 

If it's the first option, you can use a standard unique tool. Essentially it will grab any row that has unique values for any unique combination of the fields selected. If there are duplicates it will grab the first instance. Any subsequent instance will come out of the D output.

 

If you want only unique values, you can use the Only Unique Crew Macro. This will pull out any combination of values that is only in the data once, as well as any combinations that are in the data multiple times.  

 

Crew macros here: http://www.chaosreignswithin.com/p/macros.html

 

See attached for an example.

 

echuong1_0-1594832037099.png

 

johnrexrima_19
8 - Asteroid

Hi @echuong1 , 

 

Thanks for your help! I was able to resolve my issue using the only unique crew macro. 

Labels