cancel
Showing results for 
Show  only  | Search instead for 
Did you mean: 
The Discovery Summit 2025 Call for Content is open! Submit an abstract today to present at our premier analytics conference.
Get the free JMP Student Edition for qualified students and instructors at degree granting institutions.
Choose Language Hide Translation Bar
View Original Published Thread

Recode a column based on a second table

Benjamin_Fuerst
Level III

Hello community,

I already thought a while and searched here about my problem.

 

I have a primary table with IDs and information. With the help of a second table (contains only a part of the primary table) I would like to create a column in the primary table with a "label" for those IDs which are only present in the second table.
Please have a look at my screenshot. I think that will give a clearer picture of what I need.

 

Thanks in advance for an idea!
Ben

 

Benjamin_Fuerst_0-1678370210793.png

 

1 ACCEPTED SOLUTION

Accepted Solutions


Re: Recode a column based on a second table

@Benjamin_Fuerst 

 

I would recommend you try both Tables > Join with a Match Flag and Concatenate with a Source Column to see if one of those operations gets you closer to what you want.  You may need to adjust the order of the values, but you will get a label either way.

HTH

Bill

View solution in original post

2 REPLIES 2


Re: Recode a column based on a second table

@Benjamin_Fuerst 

 

I would recommend you try both Tables > Join with a Match Flag and Concatenate with a Source Column to see if one of those operations gets you closer to what you want.  You may need to adjust the order of the values, but you will get a label either way.

HTH

Bill

Benjamin_Fuerst
Level III


Re: Recode a column based on a second table

Thanks Bill!!

The Join with match flag did the thing!