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.
See how to use to use Text Explorer to glean valuable information from text data at April 25 webinar.
Choose Language Hide Translation Bar
View Original Published Thread

Merging tables with virtual joins

KasperSchlosser
Level II

Hello JMP community

I was wondering if any had a solution to this problem.

the basic problem is just adding adding the columns from one data table to another, but with some caveats.

 

I have made some example data to illustrate the problem.

Here i have 2 data tables, each with some data and scripts. I now want to combine them into one big data table with everything

One problem is the name collision. so just copying the columns over, concatenating or the "update" option in tables would not work.

KasperSchlosser_1-1740676199892.png

The best choice seem to be do a join, and this does work. 

KasperSchlosser_5-1740677681777.png

the formula columns still work, the name collision is handled and the saved table scripts are even updated to the changed column names.

KasperSchlosser_6-1740677861635.png

Except the original tables were virtually joined to other tables.

KasperSchlosser_7-1740678068686.png

KasperSchlosser_8-1740678080889.png

this link is lost on joining the tables

KasperSchlosser_9-1740678180308.png

simply adding the link back does not work, as the formula columns, that relied on a linked column, still refer to the old column

KasperSchlosser_10-1740678306777.png

 

This example is quite simple, so just manually updating would be possible.

the real use case would be more complicated, so trying to fix the table after joining does not seem feasible.

 

b.r.

Kasper

1 REPLY 1


Re: Merging tables with virtual joins

and the data tables if someone needs them