BookmarkSubscribeRSS Feed
lerdem
Quartz | Level 8

    I have a report created like this, what i need is too see exactly same think to as a table

proc tabulate data=M format=8.2 ;

class TERM CAMPUS GENDER/MISSING;

table

  GENDER ALL, (CAMPUS ALL)*TERM*(n='#Enrl'*f=8.

pctn<GENDER ALL/*CAMPUS*TERM*/  ALL*GENDER   GENDER>

='% Tot Enrl') / rts=20;

run;

can i convert it to table?

1 REPLY 1
ballardw
Super User

You might define precisely what you want as a "table".

Proc Tabulate can generate an output data set either with out=want on the proc statement or using ODS output but the contents are likely not what you would expect though may be transformable into what you need.

Provide a few rows of input data and exactly what you want in the output "table" - not the ods or output from proc tabulate but details of the table such as variable names and types.

hackathon24-white-horiz.png

The 2025 SAS Hackathon has begun!

It's finally time to hack! Remember to visit the SAS Hacker's Hub regularly for news and updates.

Latest Updates

Creating Custom Steps in SAS Studio

Check out this tutorial series to learn how to build your own steps in SAS Studio.

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
  • 1247 views
  • 0 likes
  • 2 in conversation