aws-cdk-lib.aws_quicksight.CfnAnalysis.KPISortConfigurationProperty

interface KPISortConfigurationProperty

LanguageType name
.NETAmazon.CDK.AWS.QuickSight.CfnAnalysis.KPISortConfigurationProperty
Gogithub.com/aws/aws-cdk-go/awscdk/v2/awsquicksight#CfnAnalysis_KPISortConfigurationProperty
Javasoftware.amazon.awscdk.services.quicksight.CfnAnalysis.KPISortConfigurationProperty
Pythonaws_cdk.aws_quicksight.CfnAnalysis.KPISortConfigurationProperty
TypeScript aws-cdk-lib » aws_quicksight » CfnAnalysis » KPISortConfigurationProperty

The sort configuration of a KPI visual.

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 kPISortConfigurationProperty: quicksight.CfnAnalysis.KPISortConfigurationProperty = {
  trendGroupSort: [{
    columnSort: {
      direction: 'direction',
      sortBy: {
        columnName: 'columnName',
        dataSetIdentifier: 'dataSetIdentifier',
      },

      // the properties below are optional
      aggregationFunction: {
        categoricalAggregationFunction: 'categoricalAggregationFunction',
        dateAggregationFunction: 'dateAggregationFunction',
        numericalAggregationFunction: {
          percentileAggregation: {
            percentileValue: 123,
          },
          simpleNumericalAggregation: 'simpleNumericalAggregation',
        },
      },
    },
    fieldSort: {
      direction: 'direction',
      fieldId: 'fieldId',
    },
  }],
};

Properties

NameTypeDescription
trendGroupSort?IResolvable | IResolvable | FieldSortOptionsProperty[]The sort configuration of the trend group fields.

trendGroupSort?

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

The sort configuration of the trend group fields.