Hi All, I am preparing a report. In which i calcualted Total Forecast using formula probability*Total budget. My last row is summary row where i dont have any prbability value. so, i am not getting Total value for Total forcast. I want to print sum of total forecast i last cell. Can some one help me out here? Code: proc report data=olympics; where probability____<>0; column probability____=Probability probability____=Nbr_of_optys Total_Media_Value=Total_Budget Total_Forcast ; define Probability/group descending 'Probability'; define Nbr_of_optys/n 'Nbr_of_optys'; define Total_Budget/sum 'Tot_Budget' format=dollar15.; define Total_Forcast/computed 'Tot_Forcast' format=dollar15. ; compute Total_Forcast; Total_Forcast=Total_Budget*Probability/100; endcomp; rbreak after/summarize; run; Output: Probability Nbr_of_optys Tot_Budget Tot_Forcast 100 7 $171,675,000 $171,675,000 90 4 $205,000,000 $184,500,000 70 8 $264,000,000 $184,800,000 50 20 $127,040,000 $63,520,000 30 3 $2,450,000 $735,000 10 319 $333,729,670 $33,372,967 361 $1,103,894,670 Thank you in advance..
... View more