Alert: There is a planned Community maintenance outage October 16th from approximately 10 - 11 PM PST. During this time the Alteryx Community will be inaccessible. Thank you for your understanding!

Alteryx Designer Desktop Discussions

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

Add an integer column to a date?

cmnflom
6 - Meteoroid

I have two columns, one is the report_date and the other is days_of_inventory.

 

I am trying to add the days_of_inventory to the report_date column which is in date format. I have tried using the following formula, but it is not creating the output I am looking for:

 

ToDate(report_date + days_of_inventory)

 

How can I fix the above formula? Thank you in advance!

1 REPLY 1
Luke_C
17 - Castor

Are you trying to add days to the report date? If so:

 

datetimeadd([report_date],[days_of_inventory],"days")

Labels