cancel
Showing results for 
Show  only  | Search instead for 
Did you mean: 
Choose Language Hide Translation Bar
hogi
Level XI

A special kind of Join Tables

Let's say, I have 2 tables. Table dt1 has an arbitrary number of columns (a, b , ...) and table dt2 has columns (x, y , ...).

What is the easiest way in Jmp to generate a crossed join of the two tables - such that for any row an, bn,  ... from dt1, there are rows in the final table with an, bn,  ...  in combination with values xm,ym, ... from dt2.

 

 

View more...

 

ab
AC
AD
BC
BD

 

xy
11
12
21
22

 

abxy
AC11
AC12
AC21
AC22
AD11
AD12
AD21
AD22
BC11
BC12
BC21
BC22
AD11
AD12
AD21
AD22
1 ACCEPTED SOLUTION

Accepted Solutions
peng_liu
Staff

Re: A special kind of Join Tables

I am wondering whether these are errors:

peng_liu_0-1701390830575.png

If they are "B"'s, sounds like you want a Cartesian join:

peng_liu_1-1701391068500.png

 

View solution in original post

2 REPLIES 2
peng_liu
Staff

Re: A special kind of Join Tables

I am wondering whether these are errors:

peng_liu_0-1701390830575.png

If they are "B"'s, sounds like you want a Cartesian join:

peng_liu_1-1701391068500.png

 

hogi
Level XI

Re: A special kind of Join Tables


@peng_liu wrote:

I am wondering whether these are errors ...


Hm ... this shows that you (no: I) should not do such things manually via copy paste

many, many tanks - I am so glad that I decides to ask - instead of starting programming.


any chance that there exist as well a drop-down-1-click solution for this one:
Graph builder Frame size JSL ?