# AggregationSortConfigurationProperty

The configuration options to sort aggregated values.

- Source: Generated code
- Type last changed: v2.93.0 · 23 Aug 2023

## Example

```ts
// 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 aggregationSortConfigurationProperty: quicksight.CfnDashboard.AggregationSortConfigurationProperty = {
  column: {
    columnName: 'columnName',

    // the properties below are optional
    dataSetIdentifier: 'dataSetIdentifier',
    topicIdentifier: 'topicIdentifier',
  },
  sortDirection: 'sortDirection',

  // the properties below are optional
  aggregationFunction: {
    attributeAggregationFunction: {
      simpleAttributeAggregation: 'simpleAttributeAggregation',
      valueForMultipleValues: 'valueForMultipleValues',
    },
    categoricalAggregationFunction: 'categoricalAggregationFunction',
    dateAggregationFunction: 'dateAggregationFunction',
    numericalAggregationFunction: {
      percentileAggregation: {
        percentileValue: 123,
      },
      simpleNumericalAggregation: 'simpleNumericalAggregation',
    },
  },
};
```

## Properties

- `aggregationFunction`: [IResolvable](/cdk/api/v2/docs/aws-cdk-lib.IResolvable.html) | [CfnDashboard.AggregationFunctionProperty](/cdk/api/v2/docs/aws-cdk-lib.aws_quicksight.CfnDashboard.AggregationFunctionProperty.html) — The function that aggregates the values in `Column` .

- `column`: [IResolvable](/cdk/api/v2/docs/aws-cdk-lib.IResolvable.html) | [CfnDashboard.ColumnIdentifierProperty](/cdk/api/v2/docs/aws-cdk-lib.aws_quicksight.CfnDashboard.ColumnIdentifierProperty.html) (required) — The column that determines the sort order of aggregated values.

- `sortDirection`: string (required) — The sort direction of values.

  - `ASC` : Sort in ascending order.
  - `DESC` : Sort in descending order.
