CalculationCurrentPass (MDX)

Returns the current calculation pass of a cube for the specified query context.

Syntax

CalculationCurrentPass()

Remarks

The CalculationCurrentPass function returns the zero-based index of the calculation pass for the current query context. This function is used in conjunction with IIf (MDX) and CalculationPassValue (MDX) in Microsoft SQL Server 2000 Analysis Services to handle recursion issues. However, with automatic recursion resolution in SQL Server Analysis Services, this function has little practical use.