Advent of Code is back! Unwrap daily challenges to sharpen your Alteryx skills and earn badges along the way! Learn more now.

Alteryx Designer Desktop Discussions

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

Designer | Removing Duplicate Rows | by getting max date

staceygreene
5 - Atom

I need help solving a problem in Alteryx to remove duplicate files . Out of 1,000,000 there are about 70 duplicates so there are about 70 extra rows . Most duplicates are coming in from the data set based off a different date . Could somebody please give advice on how to handle this solution? 

 

 

For example one duplicate 

 

BLAH NUM|BLAH NUM 2|BLAH NUM 3|CODE|DATE

02045321|34567890123|234567|ABCDEF|5/7/23

02045321|34567890123|234567|ABCDEF|7/5/23

 

I only want to get back this row : 

02045321|34567890123|234567|ABCDEF|7/5/23

 

any advice?

 

2 REPLIES 2
CoG
14 - Magnetar

If what you shared is a table with 5 columns, then you can Sort by Date Ascending use the Summarize tool, grouping by all columns except the [DATE] column, then get the Last (Action) of the [DATE] Column:

Summarize Tool 1.png

binuacs
21 - Polaris

@staceygreene  I guess you do not want to split the fields first then take the rows based on max date in that case you can do something like below 

image.png

Labels