We are celebrating the 10-year anniversary of the Alteryx Community! Learn more and join in on the fun here.
Start Free Trial

Alteryx Designer Desktop Discussions

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

Transposition of values to a limited number of columns

Hello everyone,

 

I am trying to find an elegant solution to transform customer data table formatted in a single column as in the example below

 

Customer no.Contact typeValue
123Emailabc@email.com
123Emaildef@email.com
123Emailghi@email.com
123Phone111-111-111
123Phone222-222-222
123Phone777-777-777
456Emailjkl@email.com
456Emailmno@email.com
456Phone333-333-333
789Emailprs@email.com
789Emailtuv@email.com
789Emailwxy@email.com
789Emailzzz@email.com
789Phone444-444-444
789Phone555-555-555
789Phone666-666-666

 

to a new table where one customer record can hold up to two phone numbers and only one email address, as below

 

 

Customer no.Phone1Phone2Email
123111-111-111222-222-222abc@email.com
123777-777-777 def@email.com
123  ghi@email.com
456333-333-333 jkl@email.com
456  mno@email.com
789444-444-444555-555-555prs@email.com
789666-666-666 tuv@email.com
789  wxy@email.com
789  zzz@email.com

 

Thanks in advance for help

 

3 REPLIES 3
Gaurav_Dhama_
12 - Quasar

They both look the same. Can you confirm?

Please check now

Qiu
21 - Polaris
21 - Polaris

@Marceli_Szadowiak 
A bit twist on the Sequence Number arrangement. 😁

0815-Marceli_Szadowiak.jpg

Labels
Top Solution Authors