Alteryx Designer Desktop Discussions

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

Convert wide to tall format after splitting to columns

96sudeshnasen
7 - Meteor

Hi all,

 

I have a table that looks like this:

NameCustomers
AC1,C2,C5
BC2,C8
CC1,C9,C4,C7,C3
DC3,C1

 

The column customers have n number of customers mapped and its not fixed. So while splitting to columns by "," as the delimiter, how do I know how many columns it should be split into?

 

I want to do a transpose on the resulting splitted columns to make them look like this:

 

NameCustomer
AC1
AC2
AC5
BC2
BC8
CC1
CC9
CC4
CC7
CC3
DC3
C1

 

How do I do this?

2 REPLIES 2
pimmobrown
6 - Meteoroid

Hi Sudeshna,

 

Try this:

 

Use text to columns tool. But in the configuration window select "Split to rows" and select "Skip empty columns" in advanced options. In this way, you neither have to use two tools, now have to set a limit for the number of columns to split to.

MarqueeCrew
20 - Arcturus
20 - Arcturus

Use a text to columns tool!

 

 Configure it to ROWS

 

 that will do the trick (excerpt column name will be customers instead of customer. 

cheers,

 

 mark

Alteryx ACE & Top Community Contributor

Chaos reigns within. Repent, reflect and restart. Order shall return.
Please Subscribe to my youTube channel.
Labels