Alteryx Designer Desktop Discussions

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

Separates Columns

sgaryali
8 - Asteroid

I want to separate dates in the two different columns like :-

 

Date1                               Date 2

01-JUL-21                       31-JUL-21

 

I thing I can think of is trim fn but problem here is it will work fine for this particular month but when I get next month data suppose for August I don't think this will for it.

What can be the best way for this to workout?

3 REPLIES 3
vsoni
Alteryx
Alteryx

Easiest way would be to use ReGex and tokenise:

vsoni_0-1635157699511.png

 

More info on RegEx can be found here: https://help.alteryx.com/20213/designer/regex-tool

messi007
15 - Aurora
15 - Aurora

@sgaryali,

 

You can use LEFT and Right functions to do that :

 

messi007_0-1635157921387.png

 

Attached the workflow,

 

Hope this helps!

Regards

atcodedog05
22 - Nova
22 - Nova

Hi @sgaryali 

 

My take on this using Regex tool parse mode.

 

Workflow:

atcodedog05_0-1635158102027.png

 

Hope this helps : )

 

Labels