In case you missed the announcement: The Alteryx One Fall Release is here! Learn more about the new features and capabilities here
ACT NOW: The Alteryx team will be retiring support for Community account recovery and Community email-change requests after December 31, 2025. Set up your security questions now so you can recover your account anytime, just log out and back in to get started. Learn more 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