Community Spring Cleaning week is here! Join your fellow Maveryx in digging through your old posts and marking comments on them as solved. Learn more here!

Alteryx Designer Desktop Discussions

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

Extracting Names from column

Masond3
8 - Asteroid

Team, 

 

I need some additional help again. 

 

AIM: To extract every name from the "Contact person" Column associated to a given id and display each name as an different row where the "Contact Person" has an  "/"

NB: Looking at the data, i can see that the "/" can be butted up against the last name, or there is a space between last name and the "/"


Data Input 

IDContact Person
1Alteryx User/ Alteryx Chat Bot
2Amazon Chat / Alteryx Chat Bot

 

Expected Outcome 

Account NumberContact Person
1Alteryx User
1Alteryx Chat Bot
2Amazon Chat
2Alteryx Chat Bot

 

looking forward to your assistance 

 

 

Regards 

2 REPLIES 2
Luke_C
17 - Castor

Hi @Masond3 

 

You could use a text to columns tool and configure it to split to rows:

 

Luke_C_0-1656521313562.png

Luke_C_1-1656521335061.png

 

 

 

binuacs
20 - Arcturus

@Masond3 Another way of doing this with the Regex Tokenize method

binuacs_0-1656540957457.png

 

Labels