Skip to content

AggregationFunction

Source code in docs_src/capo_quicksight/types/aggregation_function.py
class AggregationFunction(TypedDict, closed=True):
    numerical_aggregation_function: NotRequired[
        "capo_quicksight.types.numerical_aggregation_function.NumericalAggregationFunction"
    ]
    """<p>Aggregation for numerical values.</p>"""
    categorical_aggregation_function: NotRequired[
        "capo_quicksight.types.categorical_aggregation_function.CategoricalAggregationFunction"
    ]
    """<p>Aggregation for categorical values.</p> <ul> <li> <p> <code>COUNT</code>: Aggregate by the total number of values, including duplicates.</p> </li> <li> <p> <code>DISTINCT_COUNT</code>: Aggregate by the total number of distinct values.</p> </li> </ul>"""
    date_aggregation_function: NotRequired[
        "capo_quicksight.types.date_aggregation_function.DateAggregationFunction"
    ]
    """<p>Aggregation for date values.</p> <ul> <li> <p> <code>COUNT</code>: Aggregate by the total number of values, including duplicates.</p> </li> <li> <p> <code>DISTINCT_COUNT</code>: Aggregate by the total number of distinct values.</p> </li> <li> <p> <code>MIN</code>: Select the smallest date value.</p> </li> <li> <p> <code>MAX</code>: Select the largest date value.</p> </li> </ul>"""
    attribute_aggregation_function: NotRequired[
        "capo_quicksight.types.attribute_aggregation_function.AttributeAggregationFunction"
    ]
    """<p>Aggregation for attributes.</p>"""

attribute_aggregation_function instance-attribute

attribute_aggregation_function: NotRequired[AttributeAggregationFunction]

Aggregation for attributes.

categorical_aggregation_function instance-attribute

categorical_aggregation_function: NotRequired[CategoricalAggregationFunction]

Aggregation for categorical values.

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

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

date_aggregation_function instance-attribute

date_aggregation_function: NotRequired[DateAggregationFunction]

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.

numerical_aggregation_function instance-attribute

numerical_aggregation_function: NotRequired[NumericalAggregationFunction]

Aggregation for numerical values.