ACT NOW: The Alteryx team will be retiring support for Community account recovery and Community email-change requests Early 2026. Make sure to check your account preferences in my.alteryx.com to make sure you have filled out your security questions. Learn more 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
16 - Nebula
16 - Nebula

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