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

Calculation of Age vs DoB

AlanKang
5 - Atom

Hi All, I am new to Alteryx.

I am struggling on how to calculate the age vs DoB. 

I saw a same question was posted on the discussion before. However, the Age is appears as NULL. 

I have attached the DoB excel file below. The results workflow mentioned DATETIMEDIFF2: "xxxxxxxx" is not a Valid Date or Time.

I would appreciate it if anyone of you can help with me on this.

 

 

note: The type of DoB in the original file is V_String. 

 

Thank you.

 

 

 

2 REPLIES 2
Gaurav_Dhama_
12 - Quasar

You need to just change the format of the date and then take the difference, Attached is the workflow with 2 different approaches.

AlanKang
5 - Atom

Thanks Gaurav for the helps! It's work!

Labels
Top Solution Authors