Missed the Q4 Fall Release Product Update? Watch the on-demand webinar for more info on the latest in Designer 24.2, Auto Insights Magic Reports, and more!
Free Trial

Alteryx Designer Desktop Discussions

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

Help on formatting - Txt to columns and adding column for each line

Cesc
8 - Asteroid

Hi community,

 

I wanted to ask for help in the following task. I have a list of various thousands menus, which of them have allow lists. I want to separate - text to columns first on the allow lists and then add one line with the menu and its allow list.

 

Explaining with an example of input and desired output:

 

Input

MenuAllow List
SEC1360Compliance
SEC597APPaymentsInput,Accountants
SEC6582APPaymentsInput,AccountReadonly,Accountants
SEC033APPaymentsInput,CostAccountants,AccountReadonly,Accountants
SEC1360Compliance
SEC1501System Setup
SEC1502SystemAdministration,UserMaintenance,CostAccountants,EngSetup,Accountants

 

Output

MenuAllow List
SEC1360Compliance
SEC597APPaymentsInput
SEC598Accountants
SEC6582APPaymentsInput
SEC6582AccountReadonly
SEC6582Accountants
SEC033APPaymentsInput,
SEC033CostAccountants,
SEC033AccountReadonly
SEC033Accountants
SEC1360Compliance
SEC1501System Setup
SEC1502SystemAdministration
SEC1502UserMaintenance
SEC1502CostAccountants
SEC1502EngSetup
SEC1502Accountants
2 REPLIES 2
alexnajm
17 - Castor
17 - Castor

Have you tried the Split to Rows option of the Text to Columns tool?

Cesc
8 - Asteroid

Thanks Alexnajm, easyone :)

Labels
Top Solution Authors