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
Don't miss out on SAS Innovate - Register now for the FREE Livestream!
Can't make it to Vegas? No problem! Watch our general sessions LIVE or on-demand starting April 17th. Hear from SAS execs, best-selling author Adam Grant, Hot Ones host Sean Evans, top tech journalist Kara Swisher, AI expert Cassie Kozyrkov, and the mind-blowing dance crew iLuminate! Plus, get access to over 20 breakout sessions.
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.