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

Alteryx Designer Desktop Discussions

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

Using Date Column to Add a Future Target Date

Sidey1978
8 - Asteroid

Sup y'all

 

I have a column of date information which is the date a list of issues were raised. These have a timeframe of six weeks (say 42 days) to be cleared.

 

I'm struggling to figure out how to add a column simply adding 42 days to the DateRaised. I guess using a formula but I am not the best at using the datetime functions? I'm looking for a column headed TargetDate which is DateRaisedNew + 42 days...

 

Capture.JPG

 

Please can anyone shed some light on this for me?

 

Cheers

Sidey

3 REPLIES 3
ivoller
12 - Quasar

How about

 

DateTimeAdd([DateRaisedNew],42,"days")

 

Iain

CharlieS
17 - Castor
17 - Castor

Hi, @Sidey1978.

 

You are correct that a Formula tool can take care of this for you. Enter a new Ouptut Field in the Formula tool with the following formula and that should be it.

 

DateTimeAdd([DateRaisedNow],42,"days")

 

 

Let me know if you have any other questions.

Sidey1978
8 - Asteroid

Thanks both for sorting that one for me!

 

I knew it was going to be a simple one....*facepalm*

 

Cheers!

Labels
Top Solution Authors