Alteryx Designer Desktop Discussions

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

Splitting dates in one row into multiple rows

Pepathepig
5 - Atom

Hi, I'm trying to figure out how to split a date row in the format of YYYY.Month into two separate rows where one is YYYY and other is the month.

e.g.:

Original dataset:

RecordF1F2F5F8F11F14
1  2022.January2022.February2022.March2022.April
2  XXXXXXXXXXXX
312345Revenuedatadatadatadata
4123456Revenues non-tradingdatadatadatadata
5123457Revenues xxxdatadatadatadata
6123458Revenuesxxxdatadatadatadata

 

 

Desired dataset:

RecordF1F2F5F8F11F14
1  2022202220222022
2  JanuaryFebruaryMarchApril
3  XXXXXXXXXXXX
412345Revenuedatadatadatadata
5123456Revenues non-tradingdatadatadatadata
6123457Revenues xxxdatadatadatadata
7123458Revenues xxxdatadatadatadata

 

Any ideas? :)

 

Thanks a lot!

5 REPLIES 5
IraWatt
17 - Castor
17 - Castor

Hey @Pepathepig,

Here is one way to do this:

IraWatt_0-1656431941425.png

Any questions or issues please ask :)
HTH!
Ira

 

digitalmemo
8 - Asteroid

This is useful if the fields are pre-determined like in ur example. Otherwise, you'll need to add more sets of text-to-column and join tools.

Pepathepig
5 - Atom

Works like a charm, thanks a lot!

IraWatt
17 - Castor
17 - Castor

No worries @Pepathepig glad it worked 😄

binuacs
20 - Arcturus

@Pepathepig Another way of doing this with the tile tool

binuacs_0-1656433910381.png

 

Labels