NumericalAggregationFunctionProperty Struct
Aggregation for numerical values.
Example
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.CfnAnalysis.NumericalAggregationFunctionProperty = {
percentileAggregation: {
percentileValue: 123,
},
simpleNumericalAggregation: 'simpleNumericalAggregation',
};
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.CfnAnalysis.NumericalAggregationFunctionProperty(
percentile_aggregation=quicksight.CfnAnalysis.PercentileAggregationProperty(
percentile_value=123
),
simple_numerical_aggregation="simpleNumericalAggregation"
)
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();
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"
};
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
percentileAggregationoptionalIResolvable | CfnAnalysis.PercentileAggregationPropertypercentile_aggregationoptionaltyping.Union[IResolvable, PercentileAggregationProperty]percentileAggregationoptionalIResolvablePercentileAggregationoptionalIResolvablePercentileAggregationoptionalinterface{}#An aggregation based on the percentile of values in a dimension or measure.
simpleNumericalAggregationoptionalstringsimple_numerical_aggregationoptionalstrsimpleNumericalAggregationoptionalStringSimpleNumericalAggregationoptionalstringSimpleNumericalAggregationoptional*string#Built-in aggregation functions for numerical values.
notes
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.