aws-cdk-lib.aws_quicksight.CfnTemplate.PivotTableSortConfigurationProperty

interface PivotTableSortConfigurationProperty

LanguageType name
.NETAmazon.CDK.AWS.QuickSight.CfnTemplate.PivotTableSortConfigurationProperty
Gogithub.com/aws/aws-cdk-go/awscdk/v2/awsquicksight#CfnTemplate_PivotTableSortConfigurationProperty
Javasoftware.amazon.awscdk.services.quicksight.CfnTemplate.PivotTableSortConfigurationProperty
Pythonaws_cdk.aws_quicksight.CfnTemplate.PivotTableSortConfigurationProperty
TypeScript aws-cdk-lib » 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 { aws_quicksight as quicksight } from 'aws-cdk-lib';
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

NameTypeDescription
fieldSortOptions?IResolvable | IResolvable | PivotFieldSortOptionsProperty[]The field sort options for a pivot table sort configuration.

fieldSortOptions?

Type: IResolvable | IResolvable | PivotFieldSortOptionsProperty[] (optional)

The field sort options for a pivot table sort configuration.