cancel
Showing results for 
Show  only  | Search instead for 
Did you mean: 
  • Instantly extract effect sizes, F-ratios, and FDR-adjusted p-values from your models with the Calculate Effects Sizes extension, available now in the JMP Marketplace!
  • 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!
  • See how to use the JMP Marketplace – Free tools to expand JMP capabilities. Register. July 10, 2 pm US Eastern Time.

Discussions

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

How do I create a new table using another columns?(get columns from different tables)

Names Default To Here( 1 );

dt = Open( "$SAMPLE_DATA/Big Class.jmp" );
dt1 = Open( "$SAMPLE_DATA/Iris.jmp" );

New Table( "Merge Columns",
	Add columns( 3 ),
	Add rows(100),
	New Column( "1st",
		
		Set Values( column(dt, 3 ) )
	),
	New Column( "2nd",
		
		Set Values( column(dt, 1) )
	),
	New Column( "3rd",
	
		Set Values( column(dt1, 1) )
	)
);

Hi all.

 

I want to make a new table getting another columns by different tables.

How can I do that?

 

1 ACCEPTED SOLUTION

Accepted Solutions
jthi
Super User

Re: How do I create a new table using another columns?(get columns from different tables)

Join is most likely the best option (match by row number if you don't have any column to use).

jthi_0-1705571641478.png

Then delete extra rows you don't need

-Jarmo

View solution in original post

1 REPLY 1
jthi
Super User

Re: How do I create a new table using another columns?(get columns from different tables)

Join is most likely the best option (match by row number if you don't have any column to use).

jthi_0-1705571641478.png

Then delete extra rows you don't need

-Jarmo

Recommended Articles