Hi Cytnhia, Cynthia@sas wrote: ... Being able to reference the ACROSS variable values directly is not as simple as it sounds. ... From a functional (user) point of view I see no problem coding the following: proc report data=sashelp.class nowd out=whatcols; column age sex,height; define age / group; define sex / across; define height / mean; compute height; if (sex = 'F') then call define(_col_,'style','style={background=pink}'); else call define(_col_,'style','style={background=cyan}'); endcomp; run; That this does not work because proc report does not set the across column variable values in a compute block, is something else. I believe this would be a valuable enhancement to proc report making it much easier to use in many cases. -Bart
... View more