Free Trial

Alteryx Designer Desktop Discussions

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

Separate values in single cell to header and values

koppals1
5 - Atom

Hello All,

 

I want to split single column data to multiple rows. Below is the sample input data

 

[Class A]

Maths=100

Science=90

English=80

Social=85

[Class B]

Maths=90

Science=95

English=86

Social=95

[Class C]

Maths=70

Science=65

English=76

Social=75

 

Expected Output

 MathsScienceEnglishSocial
CLASS A100908085
CLASS B90958695
CLASS C70657675
2 REPLIES 2
Bren_Spill
12 - Quasar
12 - Quasar

@koppals1 - see attached. 

 

Multi-Row is used to tag each record with the correct Class. It's important to have this data in rows as you need to group on it in the Cross Tab tool. Text to columns splits your subject and result into columns, and finally Cross-Tab creates the output you need by moving the subject into your field name

koppals1
5 - Atom

It works, thanks for the solution

Labels
Top Solution Authors