cancel
Showing results for 
Show  only  | Search instead for 
Did you mean: 
  • Don’t miss your chance to experience Discovery Summit Europe at our best available rate! Early bird registration through 31 Oct.
  • Image to Table JMP extension imports single or batch images as data tables. Useful to extract curves from pictures or convert image data to curve data to use in analyses like Functional Data Explorer. Download and install the extension.

Discussions

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

Getting an error creating a list

I'm getting errors with my attempt select a list of matching rows.  Any suggestions as to what is wrong with this JSL code:

 

 

dt = Gas_Analysis_Full_0127
newList = {"Pump OIL", "ABD GAS"};
dt << Select Where( Contains( newList, :Well Status ) );

 

1 ACCEPTED SOLUTION

Accepted Solutions
txnelson
Super User

Re: Getting an error creating a list

In order to point to a data table you need to use the Data Table() function

dt = data table("Gas_Analysis_Full_0127");

newList = {"Pump OIL", "ABD GAS"};

dt << Select Where( Contains( newList, :Well Status ) );
Jim

View solution in original post

2 REPLIES 2
txnelson
Super User

Re: Getting an error creating a list

In order to point to a data table you need to use the Data Table() function

dt = data table("Gas_Analysis_Full_0127");

newList = {"Pump OIL", "ABD GAS"};

dt << Select Where( Contains( newList, :Well Status ) );
Jim
Ali84
Level I

Re: Getting an error creating a list

Thank you so much Jim!

Recommended Articles