Calculation in CustomTemplateGroupFooter in Summary Report

How do I perform a calculation in the CustomTemplateGroupFooter in a Summary Report? I need to display the sum of a column divided by the sum of another column. Is this possible?
Thanks,
Craig

Make sure that you have enabled Aggregate for the fields concerned and then perform your calculation in the Row_Rendered server event.