| Copyright | (c) 2013-2023 Brendan Hay |
|---|---|
| License | Mozilla Public License, v. 2.0. |
| Maintainer | Brendan Hay |
| Stability | auto-generated |
| Portability | non-portable (GHC extensions) |
| Safe Haskell | Safe-Inferred |
| Language | Haskell2010 |
Amazonka.QuickSight.Types.AggregationFunction
Description
Synopsis
- data AggregationFunction = AggregationFunction' {}
- newAggregationFunction :: AggregationFunction
- aggregationFunction_categoricalAggregationFunction :: Lens' AggregationFunction (Maybe CategoricalAggregationFunction)
- aggregationFunction_dateAggregationFunction :: Lens' AggregationFunction (Maybe DateAggregationFunction)
- aggregationFunction_numericalAggregationFunction :: Lens' AggregationFunction (Maybe NumericalAggregationFunction)
Documentation
data AggregationFunction Source #
An 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.
See: newAggregationFunction smart constructor.
Constructors
| AggregationFunction' | |
Fields
| |
Instances
newAggregationFunction :: AggregationFunction Source #
Create a value of AggregationFunction with all optional fields omitted.
Use generic-lens or optics to modify other optional fields.
The following record fields are available, with the corresponding lenses provided for backwards compatibility:
$sel:categoricalAggregationFunction:AggregationFunction', aggregationFunction_categoricalAggregationFunction - Aggregation for categorical values.
COUNT: Aggregate by the total number of values, including duplicates.DISTINCT_COUNT: Aggregate by the total number of distinct values.
$sel:dateAggregationFunction:AggregationFunction', aggregationFunction_dateAggregationFunction - 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.
$sel:numericalAggregationFunction:AggregationFunction', aggregationFunction_numericalAggregationFunction - Aggregation for numerical values.
aggregationFunction_categoricalAggregationFunction :: Lens' AggregationFunction (Maybe CategoricalAggregationFunction) Source #
Aggregation for categorical values.
COUNT: Aggregate by the total number of values, including duplicates.DISTINCT_COUNT: Aggregate by the total number of distinct values.
aggregationFunction_dateAggregationFunction :: Lens' AggregationFunction (Maybe DateAggregationFunction) Source #
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.
aggregationFunction_numericalAggregationFunction :: Lens' AggregationFunction (Maybe NumericalAggregationFunction) Source #
Aggregation for numerical values.