interface KPISortConfigurationProperty
| Language | Type name |
|---|---|
.NET | Amazon.CDK.AWS.QuickSight.CfnDashboard.KPISortConfigurationProperty |
Go | github.com/aws/aws-cdk-go/awscdk/v2/awsquicksight#CfnDashboard_KPISortConfigurationProperty |
Java | software.amazon.awscdk.services.quicksight.CfnDashboard.KPISortConfigurationProperty |
Python | aws_cdk.aws_quicksight.CfnDashboard.KPISortConfigurationProperty |
TypeScript | 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.

.NET
Go
Java
Python
TypeScript