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

DateTimeAdd Multiple Days

timioluwatimi
5 - Atom

[DateColumn2] = DateTimeAdd("2021-01-30", 10, "days")   will return   data from  10 days after 30th of January which is 9th February. How do I get data from the first 10 days  after "2021-01-30" instead?  i.e. every single day from 31st January till 9th February.  

11 REPLIES 11
Luke_C
17 - Castor
17 - Castor

@Gaurav_1604 

 

Assuming No. of Days is numeric the below should work:

 

datetimeadd([Date],[No. of Days],'days') 

Gaurav_1604
5 - Atom

Thanks Luke_C..

[No. of Days] is a numeric field. Actually I had term field as 1D, 3M, 6M , 1Y, 3Y etc. which I converted to days and am trying to use this field in 'GenerateRows' tool but am getting error message 'Argument 2 of DATETIMEADD is not a number'.

Labels
Top Solution Authors