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

Question to split a field with categories to multiple fields

gnanasai
5 - Atom

I have a column like below

 

Record   | Category

1               ball, bat, stump

2               ball

3               stump

4               gloves, pads

 

 

expected output

Record   | ball | bat | stump | gloves | pads

1                1      1       1            0           0

2                1      0       0            0           0

3                0      0       1            0           0

4                0      0       0            1           1

 

2 REPLIES 2
OllieClarke
15 - Aurora
15 - Aurora

Hey @gnanasai here's a way to do it:

OllieClarke_0-1619520686438.png

Hope that helps,

 

Ollie

gnanasai
5 - Atom

 

@ollieclarke Thank you! It worked like a charm

Labels
Top Solution Authors