In case you missed the announcement: The Alteryx One Fall Release is here! Learn more about the new features and capabilities here
ACT NOW: The Alteryx team will be retiring support for Community account recovery and Community email-change requests Early 2026. Make sure to check your account preferences in my.alteryx.com to make sure you have filled out your security questions. Learn more here
Start Free Trial

Alteryx Designer Desktop Discussions

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

Splitting Row Into Multiple

bsheremeta
7 - Meteor

I have bunch of rows that look like this:

 

"1050                                                                           United States"

or

"59495                                              California"

 

How can I obtain output that will look like this:

1050

United States

59495

California

 

I believe I need to use Text to Columns and split by whitespace but not sure if that works well. 

 

Thank you!

3 REPLIES 3
atcodedog05
22 - Nova
22 - Nova

Hi @bsheremeta 

 

You can use data cleanse tool to remove duplicate spaces and then use text to column.

 

Workflow:

atcodedog05_0-1626449549849.png

Hope this helps : )

MichaelSu
Alteryx Alumni (Retired)

Hi @bsheremeta ,

 

In addition to @atcodedog05 's solution, here is another fun way to accomplish the above. 

 

MichaelSu_0-1626453760301.png

 

Thanks,

Mike

MichaelSu
Alteryx Alumni (Retired)

Also if you add '\s' into the RegEx expression you no longer need the data cleansing tool.

 

MichaelSu_0-1626453893273.png

 

Thanks,

Mike

Labels
Top Solution Authors