Hi, I am trying to put a report together showing Country Group, Country, target(on the left hand side) and date (going across @ the top) and volume in the middle.. at the end of every CountryGroup I am able to show the total of volume: something like this Country Group Country, target Day1 Day2 NorthAmerica Canada 200 310 120 USA 250 10 320 320 440 I want to modify the above sample report as follows 1) in the ROW, where I am showing sum of the volumes, I want to say total of the Country Group. 2) I want to add the total of the target as well 3) want to highlight volumes that are greater than the target so the above report should look something like this Country Group Country, target Day1 Day2 NorthAmerica Canada 200 310 120 USA 250 10 320 North America Total 450 320 440 Here is the code that I've used proc report data=reg headline style(column)={font_face=times font_size=1.4} style(header)={just=center font_face=arial}; column CountryGroup Country allocated dayNo, Volume; define CountryGroup / group 'Group ' style(column)=[background=gray foreground=white font_weight=bold]; define Country / order=formatted group ' ' style(column)=[background=gray foreground=white font_weight=bold]; define allocated / group 'Allocated ' ORDER=INTERNAL style(column)=[background=gray foreground=white font_weight=bold]; define dayNo / across 'Day ' ORDER=INTERNAL; define Volume / analysis sum format=comma10. ' '; break after CountryGroup / ul skip summarize suppress; rbreak after / dol skip summarize; Thanks in advance
... View more