Alteryx Designer Desktop Discussions

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

splitting a column in 2

Claudiu159
6 - Meteoroid

hello, what would be the best approach to split product Code in two fields, using “_” as separator?

Thank you.

4 REPLIES 4
MilindG
12 - Quasar

You have several options to do that but take a look at the workflow. I used Text to column tool which prob is the easiest.

 

Below is more info on the Text to column tool

 

https://community.alteryx.com/t5/Alteryx-Designer-Knowledge-Base/Tool-Mastery-Text-To-Columns/ta-p/3...

binuacs
20 - Arcturus

@Claudiu159 One way of doing this with regex replace function

 

binuacs_0-1663678973309.png

 

Emmanuel_G
13 - Pulsar

@Claudiu159 

 

The text to columns tool allows you to achieve to this result easily.

 

Please do not hesitate to mark this answer as solution if helped.

 

Emmanuel_G_0-1663679645577.png

 

pmyers
Alteryx
Alteryx

Text To Columns

 

pmyers_0-1663680118648.png

 

Labels