interface PivotTableSortConfigurationProperty
| Language | Type name |
|---|---|
.NET | Amazon.CDK.AWS.QuickSight.CfnTemplate.PivotTableSortConfigurationProperty |
Java | software.amazon.awscdk.services.quicksight.CfnTemplate.PivotTableSortConfigurationProperty |
Python | aws_cdk.aws_quicksight.CfnTemplate.PivotTableSortConfigurationProperty |
TypeScript | @aws-cdk/aws-quicksight » CfnTemplate » PivotTableSortConfigurationProperty |
The sort configuration for a PivotTableVisual .
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 pivotTableSortConfigurationProperty: quicksight.CfnTemplate.PivotTableSortConfigurationProperty = {
fieldSortOptions: [{
fieldId: 'fieldId',
sortBy: {
column: {
direction: 'direction',
sortBy: {
columnName: 'columnName',
dataSetIdentifier: 'dataSetIdentifier',
},
// the properties below are optional
aggregationFunction: {
categoricalAggregationFunction: 'categoricalAggregationFunction',
dateAggregationFunction: 'dateAggregationFunction',
numericalAggregationFunction: {
percentileAggregation: {
percentileValue: 123,
},
simpleNumericalAggregation: 'simpleNumericalAggregation',
},
},
},
dataPath: {
direction: 'direction',
sortPaths: [{
fieldId: 'fieldId',
fieldValue: 'fieldValue',
}],
},
field: {
direction: 'direction',
fieldId: 'fieldId',
},
},
}],
};
Properties
| Name | Type | Description |
|---|---|---|
| field | IResolvable | IResolvable | Pivot[] | The field sort options for a pivot table sort configuration. |
fieldSortOptions?
Type:
IResolvable | IResolvable | Pivot[]
(optional)
The field sort options for a pivot table sort configuration.

.NET
Java
Python
TypeScript