Interface CfnDataSetPropsMixin.IAggregationProperty
Defines an aggregation function to be applied to grouped data, creating a new column with the calculated result.
Namespace: Amazon.CDK.CfnPropertyMixins.AWS.QuickSight
Assembly: Amazon.CDK.CfnPropertyMixins.dll
Syntax (csharp)
public interface CfnDataSetPropsMixin.IAggregationProperty
Syntax (vb)
Public Interface CfnDataSetPropsMixin.IAggregationProperty
Remarks
ExampleMetadata: fixture=_generated
Examples
// The code below shows an example of how to instantiate this type.
// The values are placeholders you should change.
using Amazon.CDK.CfnPropertyMixins.AWS.QuickSight;
var aggregationProperty = new AggregationProperty {
AggregationFunction = new DataPrepAggregationFunctionProperty {
ListAggregation = new DataPrepListAggregationFunctionProperty {
Distinct = false,
InputColumnName = "inputColumnName",
Separator = "separator"
},
PercentileAggregation = new DataPrepPercentileAggregationFunctionProperty {
InputColumnName = "inputColumnName",
PercentileValue = 123
},
SimpleAggregation = new DataPrepSimpleAggregationFunctionProperty {
FunctionType = "functionType",
InputColumnName = "inputColumnName"
}
},
NewColumnId = "newColumnId",
NewColumnName = "newColumnName"
};
Synopsis
Properties
| AggregationFunction | The aggregation function to apply, such as |
| NewColumnId | A unique identifier for the new column that will contain the aggregated values. |
| NewColumnName | The name for the new column that will contain the aggregated values. |
Properties
AggregationFunction
The aggregation function to apply, such as SUM , COUNT , AVERAGE , MIN , MAX.
object? AggregationFunction { get; }
Property Value
Remarks
NewColumnId
A unique identifier for the new column that will contain the aggregated values.
string? NewColumnId { get; }
Property Value
Remarks
NewColumnName
The name for the new column that will contain the aggregated values.
string? NewColumnName { get; }