interface PivotTableSortConfigurationProperty
Language | Type name |
---|---|
.NET | Amazon.CDK.AWS.QuickSight.CfnAnalysis.PivotTableSortConfigurationProperty |
Java | software.amazon.awscdk.services.quicksight.CfnAnalysis.PivotTableSortConfigurationProperty |
Python | aws_cdk.aws_quicksight.CfnAnalysis.PivotTableSortConfigurationProperty |
TypeScript | @aws-cdk/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 * as quicksight from '@aws-cdk/aws-quicksight';
const pivotTableSortConfigurationProperty: quicksight.CfnAnalysis.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.