cancel
Showing results for 
Show  only  | Search instead for 
Did you mean: 
  • DownloadSemiconductor Toolkit: Tools to create wafer maps, add wafer geometry to graphics, explore die defects & compare wafers.
  • Discovery Summit 2026: Early User Edition - September 23-24.Register. It's free.
  • See how to design an experiment, explore factor-response relationships, assess tradeoffs, and ID best settings. Register for Sep. 11 Mastering JMP.

Discussions

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

Create a subset by ID based on column maximum value

Hi group,

 

Using JMP 14, I have a dataset where I have measurements of an analyte on several individuals over different visits. I would like to subset the dataset keeping only the row for the last visit for each individual. How can I interactively do this (no scripting if possible)? I attach a simplified version of the dataset with only 4 individuals. The resulting dataset should have only 4 rows with the latest visit information.

1 ACCEPTED SOLUTION

Accepted Solutions
gzmorgan0
Super User (Alumni)

Re: Create a subset by ID based on column maximum value

  1.  Create a New Column, say Max Visit, with formula Col Maximum( :Visit, :ID )
  2. Select from the Main Menu > Rows > Row Selection > Select Where .... Visit equals, Compare Column, Max Visitimage.pngimage.png
  3. Table > Subset > use the default settings OK produces the table below

image.pngimage.png

View solution in original post

2 REPLIES 2
gzmorgan0
Super User (Alumni)

Re: Create a subset by ID based on column maximum value

  1.  Create a New Column, say Max Visit, with formula Col Maximum( :Visit, :ID )
  2. Select from the Main Menu > Rows > Row Selection > Select Where .... Visit equals, Compare Column, Max Visitimage.pngimage.png
  3. Table > Subset > use the default settings OK produces the table below

image.pngimage.png

david_arteta
Level III

Re: Create a subset by ID based on column maximum value

Thanks @gzmorgan0 for your quick and useful answer!

Recommended Articles