2.1.22.2 TDefaultAggregateFunction

The TDefaultAggregateFunction simple type enumerates the aggregate functions that can be used by reporting tools to summarize attribute values.

The TDefaultAggregateFunction simple type is defined in the schema as follows.

 <xs:simpleType name="TDefaultAggregateFunction">
   <xs:restriction base="xs:string">
     <xs:enumeration value="Default" />
     <xs:enumeration value="None" />
     <xs:enumeration value="Sum" />
     <xs:enumeration value="Count" />
     <xs:enumeration value="Average" />
     <xs:enumeration value="Min" />
     <xs:enumeration value="Max" />
     <xs:enumeration value="DistinctCount" />
   </xs:restriction>
 </xs:simpleType>

The possible values for the TDefaultAggregateFunction simple type are specified in the following table.

Value

Meaning

Default

Automatically selects the appropriate aggregate function based on the data type.

None

Does not use aggregate functions.

Sum

Uses the aggregate function Sum.

Count

Uses the aggregate function Count.

Average

Uses the aggregate function Average.

Min

Uses the aggregate function Min.

Max

Uses the aggregate function Max.

DistinctCount

Uses the aggregate function DistinctCount.