Hi , you can also use the first. last. approach as below . proc sort data = ORwfdTerm ; By Person_Number decending Termination_Date; run; data want ; set have ; By Person_Number decending Termination_Date;; if first.Person_Number ; run; thanks
... View more