TechNet
Expand All
Avg
IIf
Lag
Max
Min
Mtd
Qtd
Sum
Var
Wtd
Ytd
Collapse the table of content
Expand the table of content
Expand Minimize
The document is archived and information here might be outdated

CalculationCurrentPass (MDX)

Updated: 17 July 2006

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


CalculationCurrentPass()

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.

Release History

17 July 2006

Changed content:
  • Updated syntax and arguments to improve clarity.
Show:
© 2016 Microsoft