Proc report-Example 4
Proc report data=asthma nowd
style(header)=[background=CX93D6FF font_size=0.7 font_weight=bold
font_face="Arial"]
style(column)=[font_size=0.7 ];
column region reference number, time;
define region /"Region" group order=data ;
define reference/ "Reference" group;
define time/ across order=data "Time" ;
define number/ "" analysis format=6.0 ;
compute region;
if region='' then call define
(_row_,'STYLE','STYLE=[background=CX93D6FF]');
if region='Saskatchewan' then call define
(_row_,'STYLE','STYLE=[background=beige]');
endcomp;
run;