Skip to main content

atoti.agg.sum_product(*factors: Column) → MeasureDefinition

atoti.agg.sum_product(*factors: MeasureConvertible, scope: CumulativeScope | SiblingsScope | OriginScope) → MeasureDefinition

Return a measure equal to the sum product aggregation of the passed factors across the specified scope.
  • Parameters:
    • factors – The factors to multiply together and then aggregate as a sum.
    • scope – The aggregation scope.

Example