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

How can filter all data in a category whose minimum value is greater than the specified value in a specified column?

lwx228
Level VIII

For example, in "Big Class. JMP ", all data of minimum body "weight" greater than 80 in each age group are selected by "age" column?For JSL

2020-06-21_09-31.png

 

Thanks!

1 ACCEPTED SOLUTION

Accepted Solutions
txnelson
Super User


Re: How can filter all data in a category whose minimum value is greater than the specified value in a specified column?

If I understand what you are asking...….you should be able to figure this out yourself

dt=current data table();

dt << select where(col min(:weight,:age) >80);
Jim

View solution in original post

3 REPLIES 3
txnelson
Super User


Re: How can filter all data in a category whose minimum value is greater than the specified value in a specified column?

If I understand what you are asking...….you should be able to figure this out yourself

dt=current data table();

dt << select where(col min(:weight,:age) >80);
Jim
lwx228
Level VIII


Re: How can filter all data in a category whose minimum value is greater than the specified value in a specified column?

Thank Jim!

Is this SQL syntax?
txnelson
Super User


Re: How can filter all data in a category whose minimum value is greater than the specified value in a specified column?

SQL does have "Select" and "Where" components of it's language, what I provided to you is a 

     Select Where()

function right out of JSL

Jim