Alteryx Designer Desktop Discussions

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

Join data from a filtered data set and all data

LoganD601
5 - Atom

Hi, I am a beginner in Alteryx and am attempting to join data from two excel sheets. Both sheets have a same common ID field so I am able to use a join to get them to join the data. However, I do not want to see all of the ID's. I only want to add data from the large data set to the already filtered data, if that makes sense. Here is an example of what I want to do:

 

Here's the filtered data (Excel sheet 1):

Student IDGrade

123

3.56
2133.7
2513.52
521

4.11

6213.85
6533.55

 

Here's the data set (Excel sheet 2):

Student IDSemester GradeOverall GPA

Status

1233.563.42FR
1244.223.88JR
1252.883.12SR
1263.313.04FR
1273.224.01FR
1284.013.85SP
1293.964.02JR
1302.783.45JR
1312.973.22

SR

etc, all the way to student 1000  

 

 

So, I would like the output of joining the two tables to be something like this 

 

Student IDGradeStatus

123

3.56FR
2133.7FR
2513.52FR
521

4.11

SR

6213.85JR
6533.55JR

 

What it's doing now, is it will just add both data sets to eachother, instead of merging them, and I'm not sure how to only have it output rows where the Student ID's match. This is probably really simple, but I started with Alteryx a couple of weeks ago and am still learning. Thanks!

2 REPLIES 2

Hi @LoganD601 

 

You will just need to look at the output of the J anchor of your Join tool. This is the one that will show you IDs on both sheets.  In the example you provided, there was only one Student ID common which is 123. If you run it on the entire data set and look at J anchor output, you should find what you are looking for. See below

christine_assaad_0-1656365227006.png

 

LoganD601
5 - Atom

Ah! I didn't realize that selecting certain rows would affect which ID's would appear. This, however is super simple and should have been obvious to me. Thank you for the assistance!

Labels