Alteryx Designer Desktop Discussions

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

Convert string to date format for multiple field.

SH_94
11 - Bolide

Hi community,

 

Would like to ask how to make the workflow more dynamic to select multiple field to convert from string to date format as below 

Example

Capture.PNG

 

 

4 REPLIES 4
gawa
16 - Nebula
16 - Nebula

Hi @SH_94 

You can use Multi Field Formula tool when you want to manipulate the multiple field with same formula by a single tool. 

flying008
14 - Magnetar

Hi, @SH_94 

 

FYI.  (Change output type to 'date'.)

 

DateTimeParse(ToString([_CurrentField_]),'%Y%m%d')

 

 

录制_2024_01_27_14_14_54_911.gif

 

 

 

kamal03
9 - Comet

You can use the regex_replace function to change the string into a date.

 

Convert string to date.png

 

aatalai
14 - Magnetar

you could use the transpose tool to get the data in one coloumn and then use datetime tool / formula with datetime parse and then cross tab tool. If you don't want to use regex

Labels