Hi All, I have a sas report that has two sub totals named as 'TOTAL' (file attached). I would like to calculate the ''Grand Total' which I have colored in yellow. I have tried using the following code to calculate the GRAND TOTAL but as expected it adds the sub totals as well and shows the result 76 in place of 38. more code ....... rbreak after / SUMMARIZE style={color=yellow} ; compute after; Academics = 'GRAND TOTAL'; endcomp; run; I have not created the "TOTAL" in the Proc report. Rather I have created them in Proc Sql and then used the UNION function to add it to the table before I created the Proc report. Hence I am unsure of how to get the GRAND TOTAL which should select only the observations namely (leaving , new, old, continue, previous, Interna.) to calculate the 'GRAND TOTAL'. Please suggest the correct procedure. Thank you! Rs
... View more