O'Reilly logo

SAS® Guide to Report Writing: Examples, Second Edition by Michele M. Burlew

Stay ahead with the world's most comprehensive technology and business learning platform.

With Safari, you learn the way you learn best. Get unlimited access to videos, live online training, learning paths, books, tutorials, and more.

Start Free Trial

No credit card required

Example 2.7. Presenting Multiple Observations per Report Row

Goal

Present in one row data from more than one observation. Use the values of a grouping variable to select the observations to present in one row.

Analyze specific variables within a row and present the results in computed columns in the report. Some of the calculations will be derived from the multiple observations in the row.

Report

                         Exercise Program Results

                                             Chol/
  Chol/
          Study  Pre Program   Post Program   HDL 
   HDL    Chol/HDL
 Gender      ID   Chol    HDL   Chol    HDL   Pre 
 Post Change Males 1005 296 47 ...

With Safari, you learn the way you learn best. Get unlimited access to videos, live online training, learning paths, books, interactive tutorials, and more.

Start Free Trial

No credit card required