UniDAC
Returns the value of an aggregate field by its name.
TAggregates
function GetValue(const Name: string; GroupingLevel: integer = - 1): Variant;