proc print data=exprev n noobs sumlabel='Totals' grandtotal_label='Grand Total;
Create stylized HTML output. The STYLE option in the first SUM statement specifies
that the background color of the cell containing the grand total for the variable Price be
changed to white and the font color be changed to blue. The STYLE option in the second
SUM statement specifies that the background color of cells containing totals for the
variable Quantity be changed to dark blue and the font color be changed to white.
by sale_type order_date;
sum price / style(GRANDTOTAL)=[backgroundcolor=white color=blue];
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.