BookmarkSubscribeRSS Feed
xxformat_com
Barite | Level 11

How to get a header common to several variables using proc odstable.

 

With proc report no issue:

 

proc report data=sashelp.class;
    column name ('Results' height weight);
    define name / display ' ' ;
    define height / display 'Height';
    define weight / display 'Weight';
run;


But with proc odstable...

 

proc odstable data=sashelp.class;
    column name ('Results' height weight);
    *column name height weight;
    define name;
        header=' ';
    end;
    define height;
        header='Height';
    end;
    define weight;
        header='Weight';
    end;
run;

I'm looking for a solution because of useful footer features of proc odstable I would like to keep.

 

Regards,

Véronique

SAS Innovate 2025: Call for Content

Are you ready for the spotlight? We're accepting content ideas for SAS Innovate 2025 to be held May 6-9 in Orlando, FL. The call is open until September 25. Read more here about why you should contribute and what is in it for you!

Submit your idea!

What is ANOVA?

ANOVA, or Analysis Of Variance, is used to compare the averages or means of two or more populations to better understand how they differ. Watch this tutorial for more.

Find more tutorials on the SAS Users YouTube channel.

Discussion stats
  • 0 replies
  • 280 views
  • 0 likes
  • 1 in conversation