Hi, all, I try to select a subground base on if first condition, but the following simple one is not working! nothing error in the log not no any obs output! Anyone can help to see what's the reason? thanks
data cars_sorted;
set cars;
if first.Make then output;
run;
data cars_sorted; set cars; by make; if first.Make then output; run;
data cars_sorted; set cars; by make; if first.Make then output; run;
Available on demand!
Missed SAS Innovate Las Vegas? Watch all the action for free! View the keynotes, general sessions and 22 breakouts on demand.
Learn how use the CAT functions in SAS to join values from multiple variables into a single value.
Find more tutorials on the SAS Users YouTube channel.