aggregation
Home > @gooddata/sdk-model > MeasureBuilder > aggregation
MeasureBuilder.aggregation property
Sets aggregation to use for measures created from facts.
Signature:
aggregation: (aggregation?: MeasureAggregation | undefined) => this;
Remarks
By default the aggregation is SUM. For convenience the aggregation can be specified also for measures created from metrics - and in that case it will be ignored.
For convenience, the aggregation may be undefined and it means the value should be reset to the default.