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
Are you ready for the spotlight? We're accepting content ideas for SAS Innovate 2025 to be held May 6-9 in Orlando, FL. The call is open until September 25. Read more here about why you should contribute and what is in it for you!
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.