AQ UI: Aggregate functions in define view