data killList;
set have;
by id;
retain onlyZeros;
if first.id then onlyZeros = 1;
if var = '1' then onlyZeros = 0;
if last.id and onlyZeros then output;
keep id;
run;
data want;
merge have killList(in= removeIt);
by id;
if removeIt then delete;
run;
April 27 – 30 | Gaylord Texan | Grapevine, Texas
Registration is open
Walk in ready to learn. Walk out ready to deliver. This is the data and AI conference you can't afford to miss. Register now and save with the early bird rate—just $795!