Advent of Code is back! Unwrap daily challenges to sharpen your Alteryx skills and earn badges along the way! Learn more now.
Free Trial

Alteryx Designer Desktop Discussions

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

Split the Column Values in to Multiple Columns and counting

dondapati
7 - Meteor

HI to Experts,

 

i have the data set where the column contains the multiple values those values separated with with "," .Now i want to split the those column values in to multiple columns and count the occurrence of each value.

 

 

Input:

 

aa      bb
foo     [a,b,b,c,a]
goo    [a,c,b,d]
doo    [e,b,a,d,e]

 

 

Required Output:

 

aa       a b c d e


foo      2 2 1 0 0
goo     1 1 1 1 0
doo     1 1 0 1 2

 

 

Thank you.

2 REPLIES 2
ElwinPang
8 - Asteroid

Hi, just some quick draft. Hope it help you. 

 

image.png

grazitti_sapna
17 - Castor

Hi @dondapati,

 

Here is another approach  to your problem.

Thanks.

countingvalues.PNG

Sapna Gupta
Labels
Top Solution Authors