Type : SASHELP
Uses the standard example table 'sashelp.orsales'.
| 1 | title1 'Total profit per year'; |
| 2 | title2 'Separated by Product Line'; |
| 3 | PROC REPORT DATA=sashelp.orsales nowd; |
| 4 | column year product_line profit; |
| 5 | define year / group; |
| 6 | define product_line / group ; |
| 7 | define profit / analysis sum FORMAT=dollar15.2; |
| 8 | RUN; |