Hi, I am trying to count the deaths by country at every day. I am doing this but it's not working.
DATA MYLIB_D3.NB_DECES;
SET MYLIB_D3.COVID_DATA;
BY date country;
WHERE new_deaths>=1;
RUN;
That just creates a subset, and no count of anything. Please give us an example of your data, and what you expect to get out of it.
SAS Innovate 2025 is scheduled for May 6-9 in Orlando, FL. Sign up to be first to learn about the agenda and registration!
What’s the difference between SAS Enterprise Guide and SAS Studio? How are they similar? Just ask SAS’ Danny Modlin.
Find more tutorials on the SAS Users YouTube channel.
Ready to level-up your skills? Choose your own adventure.