09-22-2011 08:13 PM
With Proc Report, is there a way to repeat the column headers but not the titles when the value of a group variable changes? i.e. to group the report by a group variable and repeat the column headers only.
09-22-2011 09:49 PM
What output do you like?
It would be better if you could post some desired output.
proc report data=sashelp.class nowd noheader; column sex name; define sex /group; compute before sex; line ' '; line @45 'Sex' @49 'Name'; endcomp; run;
09-22-2011 09:58 PM
Thanks for that, it gave me clues on how to do it. If there is no automatic way of displaying headers by group then I can format the line statement in compute section and achieve the same result.