AggregationFunction Enumeration

Defines the type of aggregation that can be set for measures or dimensions.

Namespace:  Microsoft.AnalysisServices
Assembly:  Microsoft.AnalysisServices (in Microsoft.AnalysisServices.dll)

public enum AggregationFunction

Member nameDescription
SumSpecifies the sum of members. This is the default aggregation function.
CountSpecifies the count of measure members.
MinSpecifies the minimum value of members.
MaxSpecifies the maximum value of members.
DistinctCountSpecifies the count of distinct measure members.
NoneNo aggregations are performed on any dimension – data is only available on the leaf cells. If no value from the fact table has been read in for a member, then the cell value for the member is considered to be Null.
ByAccountSpecifies that the aggregation used will be determined for each CurrentMember of the Account dimension according to its account type. Unmapped account types aggregate as SUM.
AverageOfChildrenSpecifies average of leaf descendants in time. Average does not count an empty value as 0.
FirstChildSpecifies the first child member along Time dimension.
LastChildSpecifies the last child member along Time dimension.
FirstNonEmptySpecifies the first non empty child member along Time dimension.
LastNonEmptySpecifies the last non empty child member along Time dimension.

New: 17 July 2006

The following aggregation functions are not supported ByAccount:

  • None

  • DistinctCount

  • Count

  • Min

  • Max

Community Additions