Values_0.AggregationFunctionSourceAn aggregation function aggregates values from a dimension or measure. This is a union type structure. For this structure to be valid, only one of the attributes can be defined.
type nonrec t = {numericalAggregationFunction : NumericalAggregationFunction.t option;Aggregation for numerical values.
*)categoricalAggregationFunction : CategoricalAggregationFunction.t option;Aggregation for categorical values. COUNT: Aggregate by the total number of values, including duplicates. DISTINCT_COUNT: Aggregate by the total number of distinct values.
*)dateAggregationFunction : DateAggregationFunction.t option;Aggregation for date values. COUNT: Aggregate by the total number of values, including duplicates. DISTINCT_COUNT: Aggregate by the total number of distinct values. MIN: Select the smallest date value. MAX: Select the largest date value.
*)attributeAggregationFunction : AttributeAggregationFunction.t option;Aggregation for attributes.
*)}val to_value :
t ->
[> `Structure of
(string
* [> `Enum of string
| `Structure of
(string
* [> `Enum of string
| `String of String_.t
| `Structure of
(string * [> `Double of PercentileValue.t ]) list ])
list ])
list ]