Desktop productivity for business analysts and programmers

Convert a sas table from proc tabulate

Reply
Contributor
Posts: 47

Convert a sas table from proc tabulate

    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?

Super User
Posts: 11,121

Re: Convert a sas table from proc tabulate

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.

Ask a Question
Discussion stats
  • 1 reply
  • 229 views
  • 0 likes
  • 2 in conversation