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