Features: |
COMPUTE statement arguments: AFTER
ENDCOMP statement
|
Data set: | GROCERY |
Formats: | $MGRFMT |
libname proclib
'SAS-library';
options fmtsearch=(proclib);
proc report data=grocery nowd colwidth=10 spacing=5 headline headskip;
column manager department sales;
define manager / order order=formatted format=$mgrfmt.; define department / order order=internal format=$deptfmt.;
define sales / analysis sum format=dollar7.2;
break after manager / ol summarize skip;
compute after; line 'Total sales for these stores were: ' sales.sum dollar9.2; endcomp;
where sector='se';
title 'Sales for the Southeast Sector'; run;
define manager / order order=formatted format=$mgrfmt.; define department / order order=internal format=$deptfmt.;