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.
SOLVED

Customized date plus 30 days

RanjanKT
8 - Asteroid

Hi Team,

 

Can some one please help me to resolve the below formula.

 

I just wanted to add one customized date and add 30 days to it.

 

IF [Status]="closed" then "closed" elseif [Status]="On Hold" then "On Hold" elseif [AnticipatedWinDate] <"06/01/2019" then "Past Due" elseif [AnticipatedWinDate]<=DateTimeAdd([ 06/28/2019  ],+30,"days") then "0 to 30 Days" else ">30"
ENDIF

 

Somewhere i am not getting the expression right "=DateTimeAdd([ 06/28/2019  ],+30,"days")"

 

Regards,

Ranjan

 

 

 

3 REPLIES 3
JosephSerpis
17 - Castor
17 - Castor

Hi @RanjanKT Alteryx like dates formats in the form of YYYY-MM-DD so think you need to do a conversion of your data in order to add 30 days like belowDate_30days.JPG

RanjanKT
8 - Asteroid

Thanks for the response to be more clear on the request.

 

There is no inbuilt date field in the data.

 

Date which i need to insert. Does it work if i add YYYY-MM-DD format?

 

Regards,

Ranjan

JosephSerpis
17 - Castor
17 - Castor

Hi @RanjanKT Yes that would work as well like below.Date_30days.JPG

Labels
Top Solution Authors