Alteryx Designer Desktop Discussions

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

Split Data Feeding Into Alteryx in One Row

user_7346
6 - Meteoroid

Hello,

 

I have data in CSV files. The data comes in with all information in 1 column. I am looking to have 2 columns: 1 with the username and another with active/inactive. Some columns have extra text such as "(password)". I would like to avoid manually manipulating the Excel file as I have many files in this exact same format and will receive files in this format frequently.

 

How the data currently looks in Excel

user_7346_0-1616613346736.png

 

How the data currently looks in Alteryx

user_7346_1-1616613438640.png

 

How I would like the data to look in Alteryx

user_7346_2-1616613685933.png

 

 

3 REPLIES 3
echuong1
Alteryx Alumni (Retired)

You could use regex to clean this up.

 

Another method would be to use a text to columns with a delimiter on "(" to remove the password entries. From there, you can use a simple regex to separate out the data before and after the capital letter.

 

Are you able to upload a copy of your input file?

user_7346
6 - Meteoroid

Hello,

 

The raw data is attached. Thank you for your help!

Emil_Kos
17 - Castor
17 - Castor

Hi @user_7346,

 

Not sure if you want to keep a password or not but maybe you can try text to columns tool

 

Emil_Kos_0-1616615131745.png

Output:

Emil_Kos_1-1616615181358.png

 

Polls
We’re dying to get your help in determining what the new profile picture frame should be this Halloween. Cast your vote and help us haunt the Community with the best spooky character.
Don’t ghost us—pick your favorite now!
Labels