Document toolboxDocument toolbox

Tail

The Tail function returns the specified number of tuples from the end of the specified set. The order of elements is preserved. The default value of Count is 1. If the specified number of tuples is less than 1, the function returns the empty set. If the specified number of tuples exceeds the number of tuples in the set, the function returns the original set.

Syntax

Tail( Set_Expression , count )

Arguments

Set_Expression

MDX expression that returns a set of members.

Count

MDX expression that specifies the number of tuples to be returned.