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.
Figure 9.1: Year-to-Date Expense Report
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 |