Important Community update: The process for changing your account details was updated on June 25th. Learn how this impacts your Community experience and the actions we suggest you take to secure your account here.

Alteryx Designer Desktop Discussions

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

Multi Field Formula to Change Multiple date fields

MelShank
5 - Atom

I have a number of fields (10+) in my data that are in needing of conversion to a date type. Currently they're in a format of DD/MM/YYYY and are reading in as a string. If I convert the data type using a Select Tool, Alteryx is reading the day/month incorrectly.

 

I'm hoping I can use the Multi Field formula and the DateTimeParse function (?) to convert all of these fields using 1 tool.

 

Sample Data is attached! Appreciate any help here!!

1 REPLY 1
grossal
15 - Aurora
15 - Aurora

Hi @MelShank,

 

you could use the Multi-Field-Formula and DateTimeParse Function to achieve this. (Multi-Field Formula so you can have as many columns as you want)

 

grossal_0-1585603830357.png

 

Configuration:

grossal_1-1585603857430.png

 

I noticed that you have two separate date formats, so I used an IF THEN ELSE to parse both types correctly.

 

Output:

grossal_2-1585603906074.png

 

 

Workflow attached. Let me know if this solved your problem 😃

 

 

Best 

Alex

Labels