Hi Deep Siv, You can try something like this : data tab1; input c $ year sales; cards; a 2009 10 a 2010 10 a 2011 10 a 2012 10 b 2009 10 b 2010 10 b 2011 10 b 2012 10 ;run; proc report data=tab1 ; columns c year, sales sales=salessum; define c /group ; define year/across order=data; define sales/analysis sum ; define salessum/sum 'Total Sales'; run;
... View more