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.

Remove duplicate within the same month

beatrizmguerreiro
8 - Asteroid

Hello,

 

I have the dataset bellow.

 

MonthDoc. Number

1

123456
1456789
1123456
2987456
2321456

 

I need to find any duplicate document number within the same period. 

Based on my requirements, The rows highlighted, should be filtered as duplicates.

 

Thank you.

3 REPLIES 3
AngelosPachis
16 - Nebula

Hi @beatrizmguerreiro ,

 

You can use a summarize tool to achieve that, grouping by both fields (months and document no.)

 

AngelosPachis_0-1610094723145.png

 

That will return you the unique value for each combination of your fields.

 

Hope that helps,

 

Angelos

AngelosPachis
16 - Nebula

and I think I might have got that wrong slightly. If you indeed want to exclude them totally from your dataset, then you can use a filter tool, to filter them out.

 

AngelosPachis_0-1610094894537.png

 

 

AkimasaKajitani
17 - Castor
17 - Castor

Hi @beatrizmguerreiro 

 

You can use Unique tool.

 

AkimasaKajitani_0-1610098382682.png

 

Duplicate records will output to "D" output.

 

Summarize tools are also available as @AngelosPachis  presents it.

Labels
Top Solution Authors