Compartilhar via


Current (MDX)

Returns the current tuple from a set during iteration.

Syntax

Set_Expression.Current 

Arguments

  • Set_Expression
    A valid Multidimensional Expressions (MDX) expression that returns a set.

Remarks

At each step during an iteration, the tuple being operated upon is the current tuple. The Current function returns that tuple. This function is only valid during an iteration over a set.

MDX functions that iterate through a set include the Generate function.

Note

This function only works with sets that are named, either using a set alias or by defining a named set.

See Also

Reference

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.