cancel
Showing results for 
Show  only  | Search instead for 
Did you mean: 
  • Register to attend Discovery Summit 2025 Online: Early Users Edition, Sept. 24-25.
  • New JMP features coming to desktops everywhere this September. Sign up to learn more at jmp.com/launch.
Choose Language Hide Translation Bar
KTo
KTo
Level I

How to join tables without creating a new table?

LS,

 

I want to add data from a table to a main table. This can be easily done by using the "join" option from the tables menu. However, this generates a new datatable while I want to add data to the main data table.

Now I have to close the original main table and than overwrite the original file with all potential risks.

Is thisd possible, and how (note that I know that JMP uses scripts, but I am not familiar with building my own scripts

 

thanks

Kees

 

 

1 ACCEPTED SOLUTION

Accepted Solutions
txnelson
Super User

Re: join tables without creating a new table

In the Join dialog box, there is a check box, that allows you to "Update main table with data from second table"

 

main table.PNG

Jim

View solution in original post

10 REPLIES 10
Phil_Brown
Super User (Alumni)

Re: join tables without creating a new table

Hi,

 

Instead of JOIN. Use the UPDATE option in the Tables Menu.

PDB
KTo
KTo
Level I

Re: join tables without creating a new table

HY Phil,

Thanks for your reply. Unfortunately, and indeed unexpectedly because I also expected "update" to update the whole table, this command updates columns AND stores the update in a new table.

Thanks
Kees
txnelson
Super User

Re: join tables without creating a new table

In the Join dialog box, there is a check box, that allows you to "Update main table with data from second table"

 

main table.PNG

Jim
miguello
Level VI

Re: join tables without creating a new table

Strange, in my case it still creates a new table.

txnelson
Super User

Re: join tables without creating a new table

If you use
Tables=>Update
it will not create a new table
Jim
jwiltsie
Level III

Re: join tables without creating a new table

This creates a new data table per the JMP 18.1 documentation

Update main table with data from second table

Data in the original table are updated with data in columns that have the same names. The results are displayed in a new data table.

I think this didn't used to create a new data table. Was this changed recently? 

I found a JMP Wishlist item for this: Tables join: option to update main tablePlease upvote the Wishlist item if you would like to see this implemented in JMP.

txnelson
Super User

Re: join tables without creating a new table

Tables=>Join

always creates a new data table.

Tables=>Update

does not create a new table

Jim
Phil_Brown
Super User (Alumni)

Re: join tables without creating a new table

You are looking at the documentation for JOIN DATA TABLES. There is an option when joining tables, to "Update main table with data from second table". This is different from the other function -- UPDATE DATA TABLEs

See the following link for the details: Update Data Tables

PDB
Peter_Bartell
Level VIII

Re: join tables without creating a new table

If you are running JMP/JMP Pro version 13 the new virtual join capability might be something worth looking at. Especially if the size of the joined data table takes up a relatively large RAM footprint on your computer. Here's the link to the virtual join portion of the JMP online documentation:

 

http://www.jmp.com/support/help/13-1/Virtually_Join_Data_Tables.shtml

 

Recommended Articles