Advent of Code is now back for a limited time only! Complete as many challenges as you can to earn those badges you may have missed in December. Learn more about how to participate here!
Start Free Trial

Alteryx Designer Desktop Discussions

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

To get the unique values from Column.

sri1227
5 - Atom

Hi Guys,

 

I need a help to the unique values from the column 

 

Ex :

 

Column A    Column B

 

1000             AA

1000             BB,AA

1000             CC,BB

2000             EE,GG,FF

2000             EE,SS,HH

2000             HH

 

Expected 

 

1000            AA,BB,CC

2000            EE,FF,GG,HH,SS

 

Is there way to get the output like this. Am new to Alteryx if anyone help me its really useful.

4 REPLIES 4
Felipe_Ribeir0
16 - Nebula

Hi @sri1227 

 

One way of doing this

 

Felipe_Ribeir0_0-1673703339898.png

 

MarqueeCrew
20 - Arcturus
20 - Arcturus

@sri1227 ,

 

 If you first use a text to columns you can parse on comma for field two and choose to split to rows.  You will get column 1 plus the value of column two. 

now you can unique on column one and two

 

 now summarize with a group on column one.  The second thing to do in the summarize is to select the column two and under the string functions you will see concentrate.  Concentrate in column two. 

presto!  You're done. 

cheers,

 

 mark

Alteryx ACE & Top Community Contributor

Chaos reigns within. Repent, reflect and restart. Order shall return.
Please Subscribe to my youTube channel.
ShankerV
17 - Castor

Hi @sri1227 

 

Here is your expected output.

 

ShankerV_0-1673703550123.png

 

Many thanks

Shanker V

binuacs
21 - Polaris

@sri1227 One way of doing this

 

binuacs_0-1673707671226.png

 

Labels
Top Solution Authors