Example 2.6. Suppressing the Display of Specific Columns

Goal

List observations in a data set and summarize selected numeric variables. Summarize over all observations and summarize within groups. Summarize specific variables within an observation and add these summaries as columns in the report. Display the summary columns. Do not display the variables used to calculate the summaries.

Report

                     Regional Energy
  Quarterly Use by Residential and Commercial
 Customers

                                 First    Second
                               Quarter   Quarter
             Service             Total     Total  
 Total Commercial Area Lights 36,058 ...

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.