Let’s talk Alteryx Copilot. Join the live AMA event to connect with the Alteryx team, ask questions, and hear how others are exploring what Copilot can do. Have Copilot questions? Ask 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