Skip to content

NumericalAggregationFunction

Source code in docs_src/capo_quicksight/types/numerical_aggregation_function.py
class NumericalAggregationFunction(TypedDict, closed=True):
    simple_numerical_aggregation: NotRequired[
        "capo_quicksight.types.simple_numerical_aggregation_function.SimpleNumericalAggregationFunction"
    ]
    """<p>Built-in aggregation functions for numerical values.</p> <ul> <li> <p> <code>SUM</code>: The sum of a dimension or measure. </p> </li> <li> <p> <code>AVERAGE</code>: The average of a dimension or measure.</p> </li> <li> <p> <code>MIN</code>: The minimum value of a dimension or measure.</p> </li> <li> <p> <code>MAX</code>: The maximum value of a dimension or measure.</p> </li> <li> <p> <code>COUNT</code>: The count of a dimension or measure.</p> </li> <li> <p> <code>DISTINCT_COUNT</code>: The count of distinct values in a dimension or measure.</p> </li> <li> <p> <code>VAR</code>: The variance of a dimension or measure.</p> </li> <li> <p> <code>VARP</code>: The partitioned variance of a dimension or measure.</p> </li> <li> <p> <code>STDEV</code>: The standard deviation of a dimension or measure.</p> </li> <li> <p> <code>STDEVP</code>: The partitioned standard deviation of a dimension or measure.</p> </li> <li> <p> <code>MEDIAN</code>: The median value of a dimension or measure.</p> </li> </ul>"""
    percentile_aggregation: NotRequired[
        "capo_quicksight.types.percentile_aggregation.PercentileAggregation"
    ]
    """<p>An aggregation based on the percentile of values in a dimension or measure.</p>"""

percentile_aggregation instance-attribute

percentile_aggregation: NotRequired[PercentileAggregation]

An aggregation based on the percentile of values in a dimension or measure.

simple_numerical_aggregation instance-attribute

simple_numerical_aggregation: NotRequired[SimpleNumericalAggregationFunction]

Built-in aggregation functions for numerical values.

  • SUM: The sum of a dimension or measure.

  • AVERAGE: The average of a dimension or measure.

  • MIN: The minimum value of a dimension or measure.

  • MAX: The maximum value of a dimension or measure.

  • COUNT: The count of a dimension or measure.

  • DISTINCT_COUNT: The count of distinct values in a dimension or measure.

  • VAR: The variance of a dimension or measure.

  • VARP: The partitioned variance of a dimension or measure.

  • STDEV: The standard deviation of a dimension or measure.

  • STDEVP: The partitioned standard deviation of a dimension or measure.

  • MEDIAN: The median value of a dimension or measure.