Skip to main content

atoti.agg.count_distinct(operand: LevelOrVariableColumnConvertible, /) → MeasureDefinition

atoti.agg.count_distinct(operand: VariableMeasureConvertible, /, *, scope: CumulativeScope | SiblingsScope | OriginScope) → MeasureDefinition

Return a measure equal to the distinct count of the passed measure across the specified scope.
  • Parameters:
    • operand – The measure or table column to aggregate.
    • scope – The aggregation scope.

Example