Sure just add the variables needed specify NOPRINT for the once you use in a COMPUTE BEFORE variable block.
proc report data=sashelp.orsales;
column year quarter product_line quantity;
define year / group noprint;
define quarter / group noprint;
define product_line / group;
define quantity / analysis;
compute before year;
line year 4.;
endcomp;
compute before quarter;
line quarter $6.;
endcomp;
run;
... View more