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

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
17 - Castor

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

 

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

Labels
Top Solution Authors