The {2} expression for the {0} {1}' uses an aggregate function on data of varying data types. Aggregate functions other than ...

The {2} expression for the {0} ‘{1}' uses an aggregate function on data of varying data types.  Aggregate functions other than First, Last, Previous, Count, and CountDistinct can only aggregate data of a single data type.