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.
April 27 – 30 | Gaylord Texan | Grapevine, Texas
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 lock in 2025 pricing—just $495!
Check out this tutorial series to learn how to build your own steps in SAS Studio.
Find more tutorials on the SAS Users YouTube channel.
Ready to level-up your skills? Choose your own adventure.