What would be the procedure similar to making a excel pivot table?
I need 2 examples onesSummarizing and other counting
It depends. There are many different ways starting from:
All of these Procs have examples in the documentation.
I would probably start with Proc Tabulate as it's pretty versatile.
Here's a paper with examples
It depends. There are many different ways starting from:
All of these Procs have examples in the documentation.
I would probably start with Proc Tabulate as it's pretty versatile.
Here's a paper with examples
On the other hand, if you're on a system that can run VB Script (e.g., any version of Windows) you can use SAS to create an Excel pivot table for you. For some sample code, take a look at: https://listserv.uga.edu/cgi-bin/wa?A2=ind0506a&L=
Art, CEO, AnalystFinder.com
It's finally time to hack! Remember to visit the SAS Hacker's Hub regularly for news and updates.
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.
Ready to level-up your skills? Choose your own adventure.