interface AggregationFunctionProperty
| Language | Type name | 
|---|---|
|  .NET | Amazon.CDK.AWS.QuickSight.CfnDashboard.AggregationFunctionProperty | 
|  Java | software.amazon.awscdk.services.quicksight.CfnDashboard.AggregationFunctionProperty | 
|  Python | aws_cdk.aws_quicksight.CfnDashboard.AggregationFunctionProperty | 
|  TypeScript | @aws-cdk/aws-quicksight»CfnDashboard»AggregationFunctionProperty | 
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.
Example
// The code below shows an example of how to instantiate this type.
// The values are placeholders you should change.
import * as quicksight from '@aws-cdk/aws-quicksight';
const aggregationFunctionProperty: quicksight.CfnDashboard.AggregationFunctionProperty = {
  categoricalAggregationFunction: 'categoricalAggregationFunction',
  dateAggregationFunction: 'dateAggregationFunction',
  numericalAggregationFunction: {
    percentileAggregation: {
      percentileValue: 123,
    },
    simpleNumericalAggregation: 'simpleNumericalAggregation',
  },
};
Properties
| Name | Type | Description | 
|---|---|---|
| categorical | string | Aggregation for categorical values. | 
| date | string | Aggregation for date values. | 
| numerical | IResolvable | Numerical | Aggregation for numerical values. | 
categoricalAggregationFunction?
Type:
string
(optional)
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?
Type:
string
(optional)
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.
numericalAggregationFunction?
Type:
IResolvable | Numerical
(optional)
Aggregation for numerical values.
