Skip to main content
@overload
atoti.agg.distinct(
    operand: LevelOrVariableColumnConvertible,
    /,
) → MeasureDefinition
@overload
atoti.agg.distinct(
    operand: VariableMeasureConvertible,
    /,
    *,
    scope: CumulativeScope | SiblingsScope | OriginScope,
) → MeasureDefinition
Return an array measure equal to the distinct values of the passed measure across the specified scope.
This feature is experimental, its key is "agg.distinct".

Parameters

operand

The measure or table column to aggregate.

scope

The aggregation scope.