This example shows how to customize row and column headings. A label specifies text
for a heading. A blank label creates a blank heading. PROC TABULATE removes the
space for blank column headings from the table.
Program
proc tabulate data=energy format=dollar12.;
class region division type;
var expenditures;
table region*division,
type='Customer Base'*expenditures=' '*sum=' '
/ rts=25;
format region regfmt. division divfmt. type usetype.;
title 'Energy Expenditures for Each Region';
title2 '(millions of dollars)';
run;
Program Description
Specify the table options. The FORMAT= option specifies DOLLAR12. as the default
format for the value ...
Become an O’Reilly member and get unlimited access to this title plus top books and audiobooks from O’Reilly and nearly 200 top publishers, thousands of courses curated by job role, 150+ live events each month, and much more.