AggregateColumn Class

Contains methods for describing summary fields such as Record Count, Sum, Average, Max, Min, and custom summary formulas. Includes name, label, data type, and grouping context.

Namespace

Reports

AggregateColumn Methods

The following are methods for AggregateColumn. All are instance methods.

getName()

Returns the unique API name of the summary field.

Syntax

public String getName()

Return Value

Type: String

getLabel()

Returns the localized display name for the summarized or custom summary formula field.

Syntax

public String getLabel()

Return Value

Type: String

getDataType()

Returns the data type of the summarized or custom summary formula field.

Syntax

public Reports.ColumnDataType getDataType()

Return Value

Type: Reports.ColumnDataType

getAcrossGroupingContext()

Returns the column grouping in the report where the summary field is displayed.

Syntax

public String getAcrossGroupingContext()

Return Value

Type: String

getDownGroupingContext()

Returns the row grouping in the report where the summary field is displayed.

Syntax

public String getDownGroupingContext()

Return Value

Type: String