cancel
Showing results for 
Show  only  | Search instead for 
Did you mean: 
  • 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!
  • Use World Cup data to build models, explore spatial relationships, and create informative visualizations in JMP. Register. July 17, 2 pm US Eastern Time.
  • Your voice matters! Tell us how you prefer to receive JMP updates, so we can tailor our communication to your needs. Take short survey.

Discussions

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

Subset Specific Column to New Table

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.

Recommended Articles