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.
atoti.agg.single_value(operand: Column, /) → MeasureDefinition
atoti.agg.single_value(operand: VariableMeasureConvertible, /, *, scope: CumulativeScope | SiblingsScope | OriginScope) → MeasureDefinition
Return a measure equal to the value aggregation of the operand across the specified scope. If the value is the same for all members of the level the operand is being aggregated on, it will be propagated to the next level.None values are ignored: they will not prevent the propagation.
- Parameters:
- operand – The measure or table column to aggregate.
- scope – The
aggregation scope.
Example
- The City level is the most granular level so the members have the same value as in the input dataframe (including
Nonefor Bordeaux). - All the cities in France have the same price or
Noneso the value is propagated to the Country level. The values in the UK cities are different so Price.VALUE isNone. - The cities in Europe have different values so the Price.VALUE is
Noneat the Continent level.