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-white.png

Missed SAS Innovate in Orlando?

Catch the best of SAS Innovate 2025 — anytime, anywhere. Stream powerful keynotes, real-world demos, and game-changing insights from the world’s leading data and AI minds.

 

Register now

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
  • 349 views
  • 0 likes
  • 1 in conversation