Join the Alteryx Community’s Maveryx Summer Cup event! Compete, network with others, and earn your gold through a series of challenges from July 24th to August 11th. Learn more about the event here.

Alteryx Designer Desktop Discussions

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

Finding Return Dates

Deano478
12 - Quasar

Hi folks,

 

I'm back again as I've hit another snag with finishing up this project. Essentially I have a table of people and the dates they are taking leave.

 

What I need to do is create a new column called Return Date that will hold the person Return Date based on the day he or she comes back from leave.

 

You will see that people have leave for a few days at a time so for example Johns Return Date would be be 28/04/2023. I have no clue if Alteryx can do this but any help is massively appreciated as this is my final hurdle to wrapping up my project. 😀

 

Here is a dummy sample similar to the real thing.

 

NameIDLeave_DateLeave_TypeApprovedYearEmail
John1645018/04/2023Annual Leave12023John@dummy.ie
John1645019/04/2023Annual Leave12023John@dummy.ie
John1645020/04/2023Annual Leave12023John@dummy.ie
John1645021/04/2023Annual Leave12023John@dummy.ie
John1645024/04/2023Annual Leave12023John@dummy.ie
John1645025/04/2023Annual Leave12023John@dummy.ie
John1645026/04/2023Annual Leave12023John@dummy.ie
John1645027/04/2023Annual Leave12023John@dummy.ie
John1645028/04/2023Annual Leave12023John@dummy.ie
Tim1301002/05/2023Annual Leave12023Tim@dummy2.ie
Tim1301012/05/2023Annual Leave0.52023Tim@dummy2.ie
Tim1301019/05/2023Annual Leave0.52023Tim@dummy2.ie
Tim1301026/06/2023Annual Leave12023Tim@dummy2.ie
Tim1301027/06/2023Annual Leave12023Tim@dummy2.ie
Liam1301028/06/2023Annual Leave12023Liam@dummy3.ie
Liam1301029/06/2023Annual Leave12023Liam@dummy3.ie
Liam1301030/06/2023Annual Leave12023Liam@dummy3.ie
Liam1301003/07/2023Annual Leave12023Liam@dummy3.ie
Liam1301004/07/2023Annual Leave12023Liam@dummy3.ie
Liam1301005/07/2023Annual Leave12023Liam@dummy3.ie
5 REPLIES 5
Luke_C
17 - Castor

Hi @Deano478 Can you share what your expected output looks like? Would John's return data actually be 29/04/2023 as that's the day following the last leave day?

braveraj
11 - Bolide

Could you do a summarize by employee and max leave date?

 

braveraj_0-1681842609754.png 

braveraj_1-1681842634872.png

 

 

Deano478
12 - Quasar

Hey @Luke_C  my apologies I should have mentioned that yeah Johns return date would be the 29th in this case

Deano478
12 - Quasar

Also @Luke_C  apologies for the confusion The output will essentially just include another column called return date which as we said before would be the day following the last day of leave.

braveraj
11 - Bolide

braveraj_0-1681843302754.png

 

Labels