Community Halloween is live until October 31st! Complete any 2 quick activities to earn the 2025 Community Halloween badge. Feeling brave? Check out the activities 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