Changing PROC REPORT Column Heading Style Attributes

Applying style attributes to PROC REPORT output is very simple. All you have to do is add STYLE= statement-level options to whichever part of the output you want to change.

There are a number of ways you can use the STYLE= option in PROC REPORT. We start out with one simple technique: using the STYLE= option to change the column headings. We start with a table similar to the previous examples.

ODS HTML BODY='furniture.html' STYLE=sasweb;
proc report data=furniture nowd;
  column Type Material Price;
  define Type / group 'Table Type';
  define Material / group 'Construction';
  define Price / analysis mean 'Average Price' format=dollar8.;
run;
ODS HTML CLOSE;

This code produces the output shown in ...

Get Output Delivery System: The Basics and Beyond now with the O’Reilly learning platform.

O’Reilly members experience books, live events, courses curated by job role, and more from O’Reilly and nearly 200 top publishers.