Start Free Trial

Alteryx Designer Desktop Discussions

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

Duplicate record how to change to one?

lingping
5 - Atom

I want to prepare the excel file, Each person should only have one record, The start date is 2023-08-28 ,and date is 2023-08-30.

 

But in my excel, Some people have two records, One row start date from 2023-08-28 and end date is 2023-08-29 , the other row start date is 2023-08-30 and end date is 2023-08-30,  How can I remove the duplicate record (Stat date is 2023-08-30)  and change the one end date  from 2023-08-29 to 2023-08-30, Which function can i use to solve this problem?Thanks

 

 
Staff NameStart DateEnd DateRun  
Lily Ya2023-08-282023-08-29Class1Change this end date to the below one
Lily Ya2023-08-302023-08-30Class1Remove this row
Sofa Huang2023-08-282023-08-30Class1 

 

2 REPLIES 2
Qiu
21 - Polaris
21 - Polaris

@lingping 
It will be better if we can have some sample input and output.

But I assume the logic here is to take minimum Start Date and Max End Date for each persona?
Then Summarize Tool is what should be looking at.

 

0703-lingping.PNG

caltang
17 - Castor
17 - Castor

@lingping it was quite hard for me to find the red highlight, but I think your question left it out haha.

 

@Qiu's Summarize Tool should do the trick, Min Max is dynamic. 

Calvin Tang
Alteryx ACE
https://www.linkedin.com/in/calvintangkw/
Labels
Top Solution Authors