interface PivotTableSortConfigurationProperty
| Language | Type name |
|---|---|
.NET | Amazon.CDK.AWS.QuickSight.CfnAnalysis.PivotTableSortConfigurationProperty |
Go | github.com/aws/aws-cdk-go/awscdk/v2/awsquicksight#CfnAnalysis_PivotTableSortConfigurationProperty |
Java | software.amazon.awscdk.services.quicksight.CfnAnalysis.PivotTableSortConfigurationProperty |
Python | aws_cdk.aws_quicksight.CfnAnalysis.PivotTableSortConfigurationProperty |
TypeScript | aws-cdk-lib » aws_quicksight » CfnAnalysis » 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 { aws_quicksight as quicksight } from 'aws-cdk-lib';
const pivotTableSortConfigurationProperty: quicksight.CfnAnalysis.PivotTableSortConfigurationProperty = {
fieldSortOptions: [{
fieldId: 'fieldId',
sortBy: {
column: {
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',
},
},
},
dataPath: {
direction: 'direction',
sortPaths: [{
dataPathType: {
pivotTableDataPathType: 'pivotTableDataPathType',
},
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
Go
Java
Python
TypeScript