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

Inherits:
Struct
  • Object
show all
Includes:
Structure
Defined in:
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.



267
268
269
270
271
272
273
274
# File 'lib/aws-sdk-quicksight/types.rb', line 267

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)


267
268
269
270
271
272
273
274
# File 'lib/aws-sdk-quicksight/types.rb', line 267

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)


267
268
269
270
271
272
273
274
# File 'lib/aws-sdk-quicksight/types.rb', line 267

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.



267
268
269
270
271
272
273
274
# File 'lib/aws-sdk-quicksight/types.rb', line 267

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