# PluginVisualSortConfigurationProperty

Determines how the plugin visual sorts the data during query.

- Source: Generated code
- Type last changed: v2.172.0 · 7 Dec 2024

## 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 pluginVisualSortConfigurationProperty: quicksight.CfnTemplate.PluginVisualSortConfigurationProperty = {
  pluginVisualTableQuerySort: {
    itemsLimitConfiguration: {
      itemsLimit: 123,
    },
    rowSort: [{
      columnSort: {
        direction: 'direction',
        sortBy: {
          columnName: 'columnName',

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

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

## Properties

- `pluginVisualTableQuerySort`: [IResolvable](/cdk/api/v2/docs/aws-cdk-lib.IResolvable.html) | [CfnTemplate.PluginVisualTableQuerySortProperty](/cdk/api/v2/docs/aws-cdk-lib.aws_quicksight.CfnTemplate.PluginVisualTableQuerySortProperty.html) — The table query sorting options for the plugin visual.
