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 of the current query context flag.
The following example returns the current calculation pass number:
CalculationCurrentPass()