Skip to content

CONSOLIDATEAVERAGE

Returns the average of all child values for a given consolidation intersection. This function only works at a consolidated level.

js
CONSOLIDATEAVERAGE(dimension)
CONSOLIDATEAVERAGE(dimension)

Parameters

  • dimension - The dimension used to average children.

Examples

js
IF(ISLEAF(), CONTINUE, CONSOLIDATEAVERAGE("Time"))
IF(ISLEAF(), CONTINUE, CONSOLIDATEAVERAGE("Time"))

Note: If this is calculating a N-Level value it will return said value. If this is calculating a consolidation on the Time dimension it will return the average of direct children values.