Alteryx Designer Desktop Discussions

Find answers, ask questions, and share expertise about Alteryx Designer Desktop and Intelligence Suite.
解決済み

Text to Column Split

TomH1
メテオロイド

I am having issues using Text to Column in order to split consecutive digits into two columns to ultimately run a chart of accounts. Is there also a way I can assign these fields a title (I.E. 11 = Current Asset, 12 = Non-Current Asset etc)

 

From

 

Field 1
110002
111003
123003
124001
210011
221003

 

 

To

 

Field 1Field 2
110002
111003
123003
124001
210011
221003
7件の返信7
MarqueeCrew
20 - Arcturus
20 - Arcturus
How about....

Left([field],2)

And

Right([field],4)

As formulas for your two fields.

Cheers,
Mark
Alteryx ACE & Top Community Contributor

Chaos reigns within. Repent, reflect and restart. Order shall return.
Please Subscribe to my youTube channel.
TomH1
メテオロイド

Thanks Mark, that worked well! Love your work.

 

Any idea how to now assign a title to consecutive digits? I.E. 11 = Current Assets, 12 = Non-Current Assets etc

 

Cheers,

Tom

MarqueeCrew
20 - Arcturus
20 - Arcturus
It depends on how many values that there are.

Switch([field],”Unknown”,’11’,’Current Assets’,’12’,’Non-Current Assets)

If there are many values you can use a Find and Replace Tool.

https://community.alteryx.com/t5/Alteryx-Knowledge-Base/Tool-Mastery-Find-Replace/ta-p/47042

Cheers,

Mark
Alteryx ACE & Top Community Contributor

Chaos reigns within. Repent, reflect and restart. Order shall return.
Please Subscribe to my youTube channel.
JoshKushner
クエーサー

You can use the select tool to rename the headers

 

Flow:

flow.PNG

 

Select:

select.PNG

JoshKushner
クエーサー

Nevermind, misinterpreted the question. @MarqueeCrew is spot on with the switch.

TomH1
メテオロイド

Thanks mate, that's worked well.

azfersaeed
アトム

@JoshKushner Select Tool is what I was looking for, thanks!

ラベル