Calling all Alteryx customers: Refer your colleague to try Alteryx and receive a $50 gift card. Sign up now!

General Discussions

Discuss any topics that are not product-specific here.
SOLVED

Data consolidation

miki2024
6 - Meteoroid

Hi mighty community,

 

I'm trying to merge two data sets into one.

 

Dataset 1 contains list of student information such as name

student ID  name

112233       David

113344       Peter

 

Dataset 2 contains the grades of the student per subject enrolled

student ID   Grade

112233         A

112233         B

112233         D

113344         B

113344         C

 

What is the best way to combine the dataset and display the information as below (regardless of subjects, just showing the list of grades)?

student ID   name       Grade

112233         David     A, B, D

113344         Peter     B, C

 

cheers!

 

5 REPLIES 5
gawa
16 - Nebula
16 - Nebula

@miki2024 

Multiple ways to do so but anyway basic Join+Summarize will suffice. 

image.png

caltang
17 - Castor
17 - Castor

Like so:

 

image.png

image.png

Calvin Tang
Alteryx ACE
https://www.linkedin.com/in/calvintangkw/
caltang
17 - Castor
17 - Castor

If it helps @miki2024 , can you kindly mark both @gawa and I's solutions as accepted solutions to close the thread as is? It'll help others find the solutions faster as well.

 

Thanks!

Calvin Tang
Alteryx ACE
https://www.linkedin.com/in/calvintangkw/
miki2024
6 - Meteoroid

Instead of JOIN, how about Find/Replace (Append function)?

gawa
16 - Nebula
16 - Nebula

@miki2024 

IN your case, Find/Replace will also work because of single key field.

Labels
Top Solution Authors