Chapter Contents
Chapter Contents
Previous
Previous
Next
Next
The COMPUTAB Procedure

Getting Started

The following example shows the different types of reports that can be generated by PROC COMPUTAB.

Suppose a company has monthly expense data on three of its divisions and wants to produce the year-to-date expense report shown in Figure 9.1. This section starts out with the default report produced by the COMPUTAB procedure and modifies it until the desired report is achieved.

 
Year to Date Expenses

                                 Division  Division  Division           All     
                                        A         B         C     Divisions     
   Travel Expenses within U.S.      18700    211000     12800      $242,500     
   Advertising                      18500    176000     34500      $229,000     
   Permanent Staff Salaries        186000   1270000    201000    $1,657,000     
   Benefits Including Insurance      3900     11100     17500       $32,500     
                                 ========  ========  ========    ==========     
   Total                           227100   1668100    265800    $2,161,000     
Figure 9.1: Year to Date Expense Report


Producing a Simple Report

Using PROC COMPUTAB

Defining Report Layout

Adding Computed Rows and Columns

Enhancing the Report

Chapter Contents
Chapter Contents
Previous
Previous
Next
Next
Top
Top

Copyright © 1999 by SAS Institute Inc., Cary, NC, USA. All rights reserved.