# NumericalAggregationFunctionProperty

Aggregation for numerical values.

- Source: Generated at build time
- Type last changed: v2.93.0 · 23 Aug 2023

## Example

TypeScript:

```ts
// The code below shows an example of how to instantiate this type.
// The values are placeholders you should change.
import { aws_quicksight as quicksight } from 'aws-cdk-lib';
const numericalAggregationFunctionProperty: quicksight.CfnDashboard.NumericalAggregationFunctionProperty = {
  percentileAggregation: {
    percentileValue: 123,
  },
  simpleNumericalAggregation: 'simpleNumericalAggregation',
};
```

Python:

```python
# The code below shows an example of how to instantiate this type.
# The values are placeholders you should change.
from aws_cdk import aws_quicksight as quicksight

numerical_aggregation_function_property = quicksight.CfnDashboard.NumericalAggregationFunctionProperty(
    percentile_aggregation=quicksight.CfnDashboard.PercentileAggregationProperty(
        percentile_value=123
    ),
    simple_numerical_aggregation="simpleNumericalAggregation"
)
```

Java:

```java
// The code below shows an example of how to instantiate this type.
// The values are placeholders you should change.
import software.amazon.awscdk.services.quicksight.*;

NumericalAggregationFunctionProperty numericalAggregationFunctionProperty = NumericalAggregationFunctionProperty.builder()
        .percentileAggregation(PercentileAggregationProperty.builder()
                .percentileValue(123)
                .build())
        .simpleNumericalAggregation("simpleNumericalAggregation")
        .build();
```

C# / .NET:

```csharp
// Install: dotnet add package Amazon.CDK.Lib
// The code below shows an example of how to instantiate this type.
// The values are placeholders you should change.
using Amazon.CDK.AWS.QuickSight;

var numericalAggregationFunctionProperty = new NumericalAggregationFunctionProperty {
    PercentileAggregation = new PercentileAggregationProperty {
        PercentileValue = 123
    },
    SimpleNumericalAggregation = "simpleNumericalAggregation"
};
```

Golang:

```go
// Install: go get github.com/aws/aws-cdk-go/awscdk/v2
// The code below shows an example of how to instantiate this type.
// The values are placeholders you should change.
import "github.com/aws/aws-cdk-go/awscdk"

numericalAggregationFunctionProperty := &NumericalAggregationFunctionProperty{
	PercentileAggregation: &PercentileAggregationProperty{
		PercentileValue: jsii.Number(123),
	},
	SimpleNumericalAggregation: jsii.String("simpleNumericalAggregation"),
}
```

## Properties

- `percentileAggregation`: [IResolvable](https://docs.aws.amazon.com/cdk/api/v2/docs/aws-cdk-lib.IResolvable.html) | [CfnDashboard.PercentileAggregationProperty](https://docs.aws.amazon.com/cdk/api/v2/docs/aws-cdk-lib.aws_quicksight.CfnDashboard.PercentileAggregationProperty.html) — An aggregation based on the percentile of values in a dimension or measure.

- `simpleNumericalAggregation`: string — Built-in aggregation functions for numerical values.

  - `SUM` : The sum of a dimension or measure.
  - `AVERAGE` : The average of a dimension or measure.
  - `MIN` : The minimum value of a dimension or measure.
  - `MAX` : The maximum value of a dimension or measure.
  - `COUNT` : The count of a dimension or measure.
  - `DISTINCT_COUNT` : The count of distinct values in a dimension or measure.
  - `VAR` : The variance of a dimension or measure.
  - `VARP` : The partitioned variance of a dimension or measure.
  - `STDEV` : The standard deviation of a dimension or measure.
  - `STDEVP` : The partitioned standard deviation of a dimension or measure.
  - `MEDIAN` : The median value of a dimension or measure.
