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.
Get the free JMP Student Edition for qualified students and instructors at degree granting institutions.
Choose Language Hide Translation Bar
View Original Published Thread

Subset Specific Column to New Table

OneNorthJMP
Level V

There is feature to subset "Row" to new Table. Is there a quick way in JMP to subset specific column to new table? 

 

For example, i only want to subset 3 columns that i select to another table. 

subset2col.PNG

1 ACCEPTED SOLUTION

Accepted Solutions
txnelson
Super User


Re: Subset Specific Column to New Table

Tables=>Subset

allows you to specify to subset only selected columns.  And if you are using JSL, the same option is available

dt = current data table();

dtNew = dt << subset( selected columns(1), selected rows(0));

The above JSL will select only the columns that are selected but will copy all rows.

Jim

View solution in original post

2 REPLIES 2
txnelson
Super User


Re: Subset Specific Column to New Table

Tables=>Subset

allows you to specify to subset only selected columns.  And if you are using JSL, the same option is available

dt = current data table();

dtNew = dt << subset( selected columns(1), selected rows(0));

The above JSL will select only the columns that are selected but will copy all rows.

Jim
OneNorthJMP
Level V


Re: Subset Specific Column to New Table

Hi Nelson,

I been using JMP for so long, i never know that i can use Tables - Subset to subset columns. Thanks for the great tips and also JSL option. Very helpful.