data have;
input ID Variable $;
cards;
1 X
2 X
3 Y
4 X
;
proc sql;
create table want as
select variable, count(variable)as count
from have
group by variable;
quit;
The 2025 SAS Hackathon has begun!
It's finally time to hack! Remember to visit the SAS Hacker's Hub regularly for news and updates.