sales for all teams for all classrooms. The last column of the report summarizes sales for
the row for all classrooms.
classrm='Classroom'*sales=' '*(sum
colpctsum*f=pctfmt9.
rowpctsum*f=pctfmt9.
reppctsum*f=pctfmt9.)
all*sales*sum=' '
Specify the row title space and eliminate blank row headings. RTS= provides 20
characters per line for row headings.
/rts=20;
run;
Output
Output 59.26Fundraiser Sales
Details
Here are the percentage sum statistic calculations used to produce the output for the Blue
Team in Classroom A:
•COLPCTSUM=31/91*100=34%
•ROWPCTSUM=31/67*100=46%
•REPPCTSUM=31/204*100=15%
Similar calculations were used to produce the output for ...
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.