> ## Documentation Index
> Fetch the complete documentation index at: https://docs.activeviam.com/llms.txt
> Use this file to discover all available pages before exploring further.

# Aggregation functions

| [`count_distinct`](./atoti.agg.count_distinct#atoti.agg.count_distinct) | Return a measure equal to the distinct count of the passed measure across the specified scope.             |
| ----------------------------------------------------------------------- | ---------------------------------------------------------------------------------------------------------- |
| [`distinct`](./atoti.agg.distinct#atoti.agg.distinct)                   | Return an array measure equal to the distinct values of the passed measure across the specified scope.     |
| [`long`](./atoti.agg.long#atoti.agg.long)                               | Return a measure equal to the sum of the positive values of the passed measure across the specified scope. |
| [`max`](./atoti.agg.max#atoti.agg.max)                                  | Return a measure equal to the maximum of the passed measure across the specified scope.                    |
| [`max_member`](./atoti.agg.max_member#atoti.agg.max_member)             | Return a measure equal to the member maximizing the passed measure on the given level.                     |
| [`mean`](./atoti.agg.mean#atoti.agg.mean)                               | Return a measure equal to the mean of the passed measure across the specified scope.                       |
| [`median`](./atoti.agg.median#atoti.agg.median)                         | Return a measure equal to the median of the passed measure across the specified scope.                     |
| [`min`](./atoti.agg.min#atoti.agg.min)                                  | Return a measure equal to the minimum of the passed measure across the specified scope.                    |
| [`min_member`](./atoti.agg.min_member#atoti.agg.min_member)             | Return a measure equal to the member minimizing the passed measure on the given level.                     |
| [`prod`](./atoti.agg.prod#atoti.agg.prod)                               | Return a measure equal to the product of the passed measure across the specified scope.                    |
| [`quantile`](./atoti.agg.quantile#atoti.agg.quantile)                   | Return a measure equal to the requested quantile of the passed operand across the specified scope.         |
| [`short`](./atoti.agg.short#atoti.agg.short)                            | Return a measure equal to the sum of the negative values of the passed measure across the specified scope. |
| [`single_value`](./atoti.agg.single_value#atoti.agg.single_value)       | Return a measure equal to the value aggregation of the operand across the specified scope.                 |
| [`square_sum`](./atoti.agg.square_sum#atoti.agg.square_sum)             | Return a measure equal to the sum of the square of the passed measure across the specified scope.          |
| [`std`](./atoti.agg.std#atoti.agg.std)                                  | Return a measure equal to the standard deviation of the passed operand across the specified scope.         |
| [`sum`](./atoti.agg.sum#atoti.agg.sum)                                  | Return a measure equal to the sum of the passed measure across the specified scope.                        |
| [`sum_product`](./atoti.agg.sum_product#atoti.agg.sum_product)          | Return a measure equal to the sum product aggregation of the passed factors across the specified scope.    |
| [`var`](./atoti.agg.var#atoti.agg.var)                                  | Return a measure equal to the variance of the passed operand across the specified scope.                   |
