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 2005 Analysis Services, this function has little practical use.

See Also

Reference

CalculationPassValue (MDX)
IIf (MDX)
MDX Function Reference (MDX)

Help and Information

Getting SQL Server 2005 Assistance

Change History

Release History

17 July 2006

Changed content:
  • Updated syntax and arguments to improve clarity.