cancel
Showing results for 
Show  only  | Search instead for 
Did you mean: 
  • JMP will suspend normal business operations for our Winter Holiday beginning on Wednesday, Dec. 24, 2025, at 5:00 p.m. ET (2:00 p.m. ET for JMP Accounts Receivable).
    Regular business hours will resume at 9:00 a.m. EST on Friday, Jan. 2, 2026.
  • We’re retiring the File Exchange at the end of this year. The JMP Marketplace is now your destination for add-ins and extensions.

Discussions

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

Excluding data by date

How can I exclude all occurences after the earliest recorded date for each patient ID without selecting each row I want to exclude? EX: I want to keep the top line and exclude the remaining

Screen Shot 2021-11-15 at 8.29.06 PM.png

2 REPLIES 2
dale_lehman
Level VII

Re: Excluding data by date

 Try the attached.  If you really want the rows excluded and not set to missing, then I imagine there is some coding that can be used (and someone will be sure to provide that).

Thierry_S
Super User

Re: Excluding data by date

Hi,

A simple way to achieve this would:

  1. Create a new column (Numerical, Categorical) with the formula :DATE == Col Minimum (:DATE, :ID)
  2. Filter on the 0 values from the new column and Exclude the rows

Best,

TS

Thierry R. Sornasse

Recommended Articles