BookmarkSubscribeRSS Feed
Amy0223
Quartz | Level 8

Hi, I need to create a report like below but I'm new to this. Any sample codes or advice would be greatly appreciated!

Screen Shot 2020-05-27 at 2.10.35 PM.png

5 REPLIES 5
ed_sas_member
Meteorite | Level 14
Hi
Do you want to display raw data or to create a summary report (e.g with frequencies)?
- for raw data, you should consider proc print or even proc report, which as more style options and enhancements but far more complicated..
- for summary reports, proc freq or proc tabulate could do the job. As well as proc report.
Amy0223
Quartz | Level 8
How to do it using proc tabulate or proc report? Could you please provide some sample codes that might work for this report? Thank you!
Kurt_Bremser
Super User

Please provide the dataset on which this report will be based, in usable form (a data step with datalines, posted in a window opened with the "little running man" button).

Amy0223
Quartz | Level 8
I was not given the dataset. But the question asked me how I would proceed to make this kind of report. Thank you.

sas-innovate-2026-white.png



April 27 – 30 | Gaylord Texan | Grapevine, Texas

Registration is open

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!

Register now

How to Concatenate Values

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.

SAS Training: Just a Click Away

 Ready to level-up your skills? Choose your own adventure.

Browse our catalog!

Discussion stats
  • 5 replies
  • 1615 views
  • 0 likes
  • 3 in conversation