Example 6.5. Adding “Traffic Lighting” to a Report Created by PROC TABULATE

Goal

Customize the appearance of the report produced in the related technique of Example 3.2 by modifying style attributes with ODS. Use “traffic lighting” to draw attention to specific results in the report by setting style elements to specific colors. Send the output to a nonlisting destination.

Report

Example Features

Data SetBREAD
Report ExampleExample 3.2 Related Technique
Featured StepsPROC FORMAT PROC TABULATE
Featured Step Statements and OptionsPROC FORMAT

Assigning colors to value labels

ODS STYLE= options placed on these PROC TABULATE statements: ...

Get SAS® Guide to Report Writing: Examples, Second Edition 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.