Let’s talk Alteryx Copilot. Join the live AMA event to connect with the Alteryx team, ask questions, and hear how others are exploring what Copilot can do. Have Copilot questions? Ask here!
Start Free Trial

Alteryx Designer Desktop Discussions

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

Get the difference between today's date and column date

RichardAlt
8 - Asteroid

Hi guys,

 

I know this is already asked question, I've follow and checked the older question but I'm getting null values.

 

This is inside the formula tool

RichardAlt_0-1588166351679.png

 

This is the column transaction date.

RichardAlt_1-1588166413592.png

 

And this is the formula to excel, 

=ROUNDUP((NOW())-L2,0)

 

The output in the excel is 73 but in alteryx the output is null.

Any idea guys? Thanks!

2 REPLIES 2
Jonathan-Sherman
15 - Aurora
15 - Aurora

Hi @RichardAlt,

 

You'll want to use:

 

DateTimeDiff(DateTimeToday(),DateTimeParse([TransactionDate],'%m/%d/%Y'),"days")

 

image.png

 

If this solves your issue please mark the answer as correct, if not let me know! I've attached my workflow for you to download if needed.

 

Regards,

Jonathan

RichardAlt
8 - Asteroid

It works! Thank you @Jonathan-Sherman , I added + 1 to the end of the formula because I'm getting 72 instead of 73. Anyway thank you again!

Labels
Top Solution Authors