Procedure
- Create a grid using fast track, or convert the aggregated column to a template column.
 - From the smart panel, select Edit Template.
 - Select the footer template for your column.
 - Add a <div> control.
 - In the markup, replace the <div> with the following code.
Average: <%= { act.Query("QueryName").AsQueryable().Select(Field("FieldName")). Average().ToString() } %>
The field must be of type numeric.