interface PivotFieldSortOptionsProperty
| Language | Type name | 
|---|---|
  .NET | Amazon.CDK.AWS.QuickSight.CfnAnalysis.PivotFieldSortOptionsProperty | 
  Go | github.com/aws/aws-cdk-go/awscdk/v2/awsquicksight#CfnAnalysis_PivotFieldSortOptionsProperty | 
  Java | software.amazon.awscdk.services.quicksight.CfnAnalysis.PivotFieldSortOptionsProperty | 
  Python | aws_cdk.aws_quicksight.CfnAnalysis.PivotFieldSortOptionsProperty | 
  TypeScript  | aws-cdk-lib » aws_quicksight » CfnAnalysis » PivotFieldSortOptionsProperty | 
The field sort options for a pivot table sort configuration.
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 pivotFieldSortOptionsProperty: quicksight.CfnAnalysis.PivotFieldSortOptionsProperty = {
  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 | string | The field ID for the field sort options. | 
| sort | IResolvable | Pivot | The sort by field for the field sort options. | 
fieldId
Type:
string
The field ID for the field sort options.
sortBy
Type:
IResolvable | Pivot
The sort by field for the field sort options.

 .NET
 Go
 Java
 Python
 TypeScript