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 after December 31, 2025. Set up your security questions now so you can recover your account anytime, just log out and back in to get started. Learn more here
Start Free Trial

Alteryx Designer Desktop Discussions

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

Text to column and re-align or move text entries accordingly

OvieAhweTR
5 - Atom

Hi

 

Can someone please provide some advice on how to achieve a task?

 

Problem: I've managed to split the entries in a column into three columns with the 'text to column' tool as you can see. However, the text entries are not consistent - you can see 'Users' is present in TXT_1, TXT_2 and TXT_3.

 

Ideally, I'd want to create 3 new columns (USERS, CREDITS and UNITS) to hold their corresponding entries just as I have it in the example.

 

Text to columnNew columns 
TXT_1TXT_2TXT_3USERSCREDITSUNITS 
Credits=38800Units=1Users=6000Users=6000Credits=38800Units=1 
Credits=2000Users=356Units=1Users=356Credits=2000Units=1 
Credits=1000Units=1     
Credits=140Units=1     
Credits=200Users=50     
Credits=407Users=44     
Units=1Users=14000     
Units=8Users=150     
Credits=330Units=1     
Credits=115Users=25     
6 REPLIES 6
Emil_Kos
17 - Castor
17 - Castor

Hi,

 

I have prepared a workflow for you.

 

Emil_Kos_0-1609319107179.png

And the output:

Emil_Kos_1-1609319165079.png

 

Please let me know if this work for you.

Qiu
21 - Polaris
21 - Polaris

@OvieAhweTR 
Something like this?

1230-OvieAhweTR.PNG

Qiu
21 - Polaris
21 - Polaris

@Emil_Kos 
Oh, Maybe I should not have used the filter.

Qiu
21 - Polaris
21 - Polaris

@OvieAhweTR 
With or without filter

1230-OvieAhweTR-1.PNG

Emil_Kos
17 - Castor
17 - Castor

Hi @Qiu,

 

Probably not 🙂

 

 

OvieAhweTR
5 - Atom

Thanks for for the speedy response @Emil_Kos  - works fine!

Labels
Top Solution Authors