BookmarkSubscribeRSS Feed
Wizard
Calcite | Level 5

I am trying to replace a PROC TABULATE with PROC REPORT and  calculate percentages.   I found  PROC REPORT is missing all the same special percentages as tabulate.

The following is from tabulate documentation:

"Special percentages in PROC TABULATE include COLPCTN, COLPCTSUM, ROWPCTN, ROWPCTSUM, PAGEPCTN, and PAGEPCTSUM"

So why are these Special percentages NOT in PROC REPORT ???????     I should not have to code compute blocks to get these percentages.

These special percentages would make PROC REPORT easier to use.

Thanks

1 REPLY 1
ballardw
Super User

The two procedures are intended for different display types. Proc Tabulate allows multiple nestings in both row and column so it makes sense to have the 'special' percentages, though getting them to work as desired sometimes is an issue.

If you need them use Tabulate. But if you want to mix these percentage and column calculations you will have to do some work.

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 save with the early bird rate—just $795!

Register now

What is Bayesian Analysis?

Learn the difference between classical and Bayesian statistical approaches and see a few PROC examples to perform Bayesian analysis in this video.

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
  • 1 reply
  • 1093 views
  • 0 likes
  • 2 in conversation