Help using Base SAS procedures

How to reorganice class subcategory in PROC TABULATE

Reply
Occasional Contributor
Posts: 10

How to reorganice class subcategory in PROC TABULATE

Hello everyone,

Today I have a dump (I think) question. Well this is what happen: 

I'm doing a proc tabulate with two class var, and the standar format that sas present the table is: 

Captura.PNG

But I want something like this:

Captura.PNG

It's just an aesthetic thing, but: It's possible?

Thanks for everything.

Super User
Posts: 11,343

Re: How to reorganice class subcategory in PROC TABULATE

Posted in reply to Feragon42

To do what you are attempting with proc tabulate I believe you would need to create additional class variables with the desired label for Var_a and Var_b and display the variables to suppress the labels. The new variables would obviously need to be on a class statement and the table statement would need to be modified to something like

 

table var_a_labeltext='' * var_a=''

 

Or move to proc report

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