Alteryx Designer Desktop Discussions

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

Trying to separate dates into three columns.

Riot
8 - Asteroid

I need to prep data to be scored. I think the decision tree will work better with day month and year broken into speperate columns. I got the first data set split using RegX. The second one is more tricky because some months are two digits and others are one. The sections are seperated by by backslash, but I am pretty new at this and am not sure how to seperate the date using that. Any advice would be great, Thank you. 

4 REPLIES 4
MarqueeCrew
20 - Arcturus
20 - Arcturus
How about:

(\d+).(\d+).(\d+)
Alteryx ACE & Top Community Contributor

Chaos reigns within. Repent, reflect and restart. Order shall return.
Please Subscribe to my youTube channel.
Riot
8 - Asteroid

Thank you for the amazingly fast and amazingly accurate answer. 

MarqueeCrew
20 - Arcturus
20 - Arcturus

A lucky guess ;)

Alteryx ACE & Top Community Contributor

Chaos reigns within. Repent, reflect and restart. Order shall return.
Please Subscribe to my youTube channel.
ScottTexas
5 - Atom

I Marquee, I need to do the same thing,  Take a date formated as month year-month-date (xxxx-xx-xx) and split each component into three different columns, year, month and date.  But i don't understand your answer, where does this formula (\d+).(\d+).(\d+)  go?

thanks,
Scott

Labels