proc sort data=have;
by customerID descending amount;
run;
data want;
set have;
by customerID;
if first.caseID then count=0;
count+1;
if count <= 2;
run;
Join us for SAS Innovate April 16-19 at the Aria in Las Vegas. Bring the team and save big with our group pricing for a limited time only.
Pre-conference courses and tutorials are filling up fast and are always a sellout. Register today to reserve your seat.