cancel
Showing results for 
Show  only  | Search instead for 
Did you mean: 
  • New to JMP? Join us Sept. 23-24 for the Early User Edition of Discovery Summit, tailor-made for new users. Register now for free!
  • Use World Cup data to build models, explore spatial relationships, and create informative visualizations in JMP. Register. July 17, 2 pm US Eastern Time.
  • Your voice matters! Tell us how you prefer to receive JMP updates, so we can tailor our communication to your needs. Take short survey.

Discussions

Solve problems, and share tips and tricks with other JMP users.
Choose Language Hide Translation Bar
Benjamin_Fuerst
Level III

Recode a column based on a second table

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!

Recommended Articles