Alteryx Designer Desktop Discussions

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

RegEx parsing

mark_9876
5 - Atom

I am new to Alteryx, and I want to split my data into new columns Country, EmpID, PlantID, and PayPeriod (W or Mo). An example of a data point I have is SWE468-4Mo, and I want to split it up like this:

 

Country- SWE

EmpID- 468

PlantID- 4

PayPeriod- Mo

 

How would one go about this?

2 REPLIES 2
TomWelgemoed
12 - Quasar

Hi @mark_9876 ,

 

Here you go!

 

Split the column first, then use the Cross Tab tool to create a column & row. Solution attached.

 

TomWelgemoed_0-1614787111084.png

 

Regards,

Tom

MarqueeCrew
20 - Arcturus
20 - Arcturus

how structured is this field?  Is it consistent in field lengths?

Alteryx ACE & Top Community Contributor

Chaos reigns within. Repent, reflect and restart. Order shall return.
Please Subscribe to my youTube channel.
Labels