cancel
Showing results for 
Show  only  | Search instead for 
Did you mean: 
  • Sign-in to the JMP Community will be unavailable intermittently Dec. 6-7 due to a system update. Thank you for your understanding!
  • We’re retiring the File Exchange at the end of this year. The JMP Marketplace is now your destination for add-ins and extensions.
  • JMP 19 is here! Learn more about the new features.

Discussions

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

rows selection

Dear all,
I am writing to solve a problem about rows selection in data table I have obtained by import of Current-Voltage data of a set of samples. .

final Data table is made by three columns: Current, Voltage, File Name.

I want to clean the Table from the last row of each group of data corresponding to the same FileName.

It is possible?

Thank you

Ross

 

1 REPLY 1
txnelson
Super User

Re: rows selection

I am not quite sure what you mean when you say "I want to clean the Table".  Here is a short piece of JSL that will find the last row for each of the FileNames

Names Default To Here( 1 );
dt = Current Data Table();

dt << select where( Row() == Col Max( Row(), :FileName ) );

Is this providing you the information you need?

Jim

Recommended Articles