The Avg aggregate works only with number types. If you want to use it with a date type. Consider converting the date to int for use in the aggregate and then back date from the aggregate result. Another option is to create your own aggregate as elaborated in User Aggregate Functions
Telerik by Progress
Do you want to have your say when we set our development plans?
Do you want to know when a feature you care about is added or when a bug fixed?
Telerik Feedback Portal
and vote to affect the priority of the items