MeasureAggregation
Home > @gooddata/sdk-model > MeasureAggregation
MeasureAggregation type
Simple measures created from facts can use these types of aggregations.
Signature:
export declare type MeasureAggregation = "sum" | "count" | "approximate_count" | "avg" | "min" | "max" | "median" | "runsum";
Remarks
Note the special approximate_count aggregation. It translates to corresponding SQL function on backend if the underlying data source supports it. Otherwise the backend should fall back to classic exact count. Some backends are oblivious to this functionality completely - for them it's ok to perform the fallback already in SDK backend.