Class: Aws::QuickSight::Types::AggregationFunction

Inherits:
Struct
  • Object
show all
Defined in:
gems/aws-sdk-quicksight/lib/aws-sdk-quicksight/types.rb

Overview

An aggregation function aggregates values from a dimension or measure.

This is a union type structure. For this structure to be valid, only one of the attributes can be defined.

Constant Summary collapse

SENSITIVE =
[]

Instance Attribute Summary collapse

Instance Attribute Details

#attribute_aggregation_functionTypes::AttributeAggregationFunction

Aggregation for attributes.



238
239
240
241
242
243
244
245
# File 'gems/aws-sdk-quicksight/lib/aws-sdk-quicksight/types.rb', line 238

class AggregationFunction < Struct.new(
  :numerical_aggregation_function,
  :categorical_aggregation_function,
  :date_aggregation_function,
  :attribute_aggregation_function)
  SENSITIVE = []
  include Aws::Structure
end

#categorical_aggregation_functionString

Aggregation for categorical values.

  • COUNT: Aggregate by the total number of values, including duplicates.

  • DISTINCT_COUNT: Aggregate by the total number of distinct values.

Returns:

  • (String)


238
239
240
241
242
243
244
245
# File 'gems/aws-sdk-quicksight/lib/aws-sdk-quicksight/types.rb', line 238

class AggregationFunction < Struct.new(
  :numerical_aggregation_function,
  :categorical_aggregation_function,
  :date_aggregation_function,
  :attribute_aggregation_function)
  SENSITIVE = []
  include Aws::Structure
end

#date_aggregation_functionString

Aggregation for date values.

  • COUNT: Aggregate by the total number of values, including duplicates.

  • DISTINCT_COUNT: Aggregate by the total number of distinct values.

  • MIN: Select the smallest date value.

  • MAX: Select the largest date value.

Returns:

  • (String)


238
239
240
241
242
243
244
245
# File 'gems/aws-sdk-quicksight/lib/aws-sdk-quicksight/types.rb', line 238

class AggregationFunction < Struct.new(
  :numerical_aggregation_function,
  :categorical_aggregation_function,
  :date_aggregation_function,
  :attribute_aggregation_function)
  SENSITIVE = []
  include Aws::Structure
end

#numerical_aggregation_functionTypes::NumericalAggregationFunction

Aggregation for numerical values.



238
239
240
241
242
243
244
245
# File 'gems/aws-sdk-quicksight/lib/aws-sdk-quicksight/types.rb', line 238

class AggregationFunction < Struct.new(
  :numerical_aggregation_function,
  :categorical_aggregation_function,
  :date_aggregation_function,
  :attribute_aggregation_function)
  SENSITIVE = []
  include Aws::Structure
end