interface KPISortConfigurationProperty
Language | Type name |
---|---|
![]() | Amazon.CDK.AWS.QuickSight.CfnDashboard.KPISortConfigurationProperty |
![]() | github.com/aws/aws-cdk-go/awscdk/v2/awsquicksight#CfnDashboard_KPISortConfigurationProperty |
![]() | software.amazon.awscdk.services.quicksight.CfnDashboard.KPISortConfigurationProperty |
![]() | aws_cdk.aws_quicksight.CfnDashboard.KPISortConfigurationProperty |
![]() | aws-cdk-lib » aws_quicksight » CfnDashboard » KPISortConfigurationProperty |
The sort configuration of a KPI visual.
Example
// 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 kPISortConfigurationProperty: quicksight.CfnDashboard.KPISortConfigurationProperty = {
trendGroupSort: [{
columnSort: {
direction: 'direction',
sortBy: {
columnName: 'columnName',
dataSetIdentifier: 'dataSetIdentifier',
},
// the properties below are optional
aggregationFunction: {
attributeAggregationFunction: {
simpleAttributeAggregation: 'simpleAttributeAggregation',
valueForMultipleValues: 'valueForMultipleValues',
},
categoricalAggregationFunction: 'categoricalAggregationFunction',
dateAggregationFunction: 'dateAggregationFunction',
numericalAggregationFunction: {
percentileAggregation: {
percentileValue: 123,
},
simpleNumericalAggregation: 'simpleNumericalAggregation',
},
},
},
fieldSort: {
direction: 'direction',
fieldId: 'fieldId',
},
}],
};
Properties
Name | Type | Description |
---|---|---|
trend | IResolvable | IResolvable | Field [] | The sort configuration of the trend group fields. |
trendGroupSort?
Type:
IResolvable
|
IResolvable
|
Field
[]
(optional)
The sort configuration of the trend group fields.