Skip to Content
Carpenter's Complete Guide to the SAS REPORT Procedure
book

Carpenter's Complete Guide to the SAS REPORT Procedure

by Art Carpenter
February 2013
Intermediate to advanced
490 pages
14h 35m
English
SAS Institute
Content preview from Carpenter's Complete Guide to the SAS REPORT Procedure
Chapter 8: Using PROC REPORT with ODS 229
8.3.2 Creating Shaded Rows
The previous example changes the background color for the summary lines. It is not unusual to
need to change the background color for the detail lines as well. In this example, we would like
the detail lines to alternate shades of gray, the summary lines for REGION to be white
(GRAYFF), and the overall summary line a bit darker (GRAY00 is black) than the others.
ods listing close;
ods html style=default
path="&path\results"
body='ch8_3_2.html';
title1;
proc report data=sashelp.prdsale(where=(prodtype='OFFICE'))
nowd;
column region country product,actual ...
Become an O’Reilly member and get unlimited access to this title plus top books and audiobooks from O’Reilly and nearly 200 top publishers, thousands of courses curated by job role, 150+ live events each month,
and much more.
Start your free trial

You might also like

Carpenter's Guide to Innovative SAS Techniques

Carpenter's Guide to Innovative SAS Techniques

Art Carpenter
SAS ODS Graphics Designer by Example

SAS ODS Graphics Designer by Example

Sanjay Matange, Jeanette Bottitta

Publisher Resources

ISBN: 9781599944272