interface AggregateOperationProperty
| Language | Type name |
|---|---|
.NET | Amazon.CDK.Mixins.Preview.AWS.QuickSight.Mixins.CfnDataSetPropsMixin.AggregateOperationProperty |
Go | github.com/aws/aws-cdk-go/awscdkmixinspreview/v2/awsquicksight/mixins#CfnDataSetPropsMixin_AggregateOperationProperty |
Java | software.amazon.awscdk.mixins.preview.services.quicksight.mixins.CfnDataSetPropsMixin.AggregateOperationProperty |
Python | aws_cdk.mixins_preview.aws_quicksight.mixins.CfnDataSetPropsMixin.AggregateOperationProperty |
TypeScript | @aws-cdk/mixins-preview » aws_quicksight » mixins » CfnDataSetPropsMixin » AggregateOperationProperty |
A transform operation that groups rows by specified columns and applies aggregation functions to calculate summary values.
Example
// The code below shows an example of how to instantiate this type.
// The values are placeholders you should change.
import { mixins as quicksight_mixins } from '@aws-cdk/mixins-preview/aws-quicksight';
const aggregateOperationProperty: quicksight_mixins.CfnDataSetPropsMixin.AggregateOperationProperty = {
aggregations: [{
aggregationFunction: {
listAggregation: {
distinct: false,
inputColumnName: 'inputColumnName',
separator: 'separator',
},
percentileAggregation: {
inputColumnName: 'inputColumnName',
percentileValue: 123,
},
simpleAggregation: {
functionType: 'functionType',
inputColumnName: 'inputColumnName',
},
},
newColumnId: 'newColumnId',
newColumnName: 'newColumnName',
}],
alias: 'alias',
groupByColumnNames: ['groupByColumnNames'],
source: {
columnIdMappings: [{
sourceColumnId: 'sourceColumnId',
targetColumnId: 'targetColumnId',
}],
transformOperationId: 'transformOperationId',
},
};
Properties
| Name | Type | Description |
|---|---|---|
| aggregations? | IResolvable | (IResolvable | Aggregation)[] | The list of aggregation functions to apply to the grouped data, such as SUM , COUNT , or AVERAGE . |
| alias? | string | Alias for this operation. |
| group | string[] | The list of column names to group by when performing the aggregation. |
| source? | IResolvable | Transform | The source transform operation that provides input data for the aggregation. |
aggregations?
Type:
IResolvable | (IResolvable | Aggregation)[]
(optional)
The list of aggregation functions to apply to the grouped data, such as SUM , COUNT , or AVERAGE .
alias?
Type:
string
(optional)
Alias for this operation.
groupByColumnNames?
Type:
string[]
(optional)
The list of column names to group by when performing the aggregation.
Rows with the same values in these columns will be grouped together.
source?
Type:
IResolvable | Transform
(optional)
The source transform operation that provides input data for the aggregation.

.NET
Go
Java
Python
TypeScript