TAIL
Description:
This function is used to return a subset from the end of a set.
Syntax:
Tail(Set_Expression [ ,Count ] )
Return type:
SET
Parameters:
Parameter | Description |
|---|---|
Set_Expression | It is a valid MDX expression that returns a set. |
Count | It is a valid numeric expression that specifies the number of tuples to be returned. |
Example:
select
[Measures].[Internet Order Quanlity] on 0,
tail([Customer].[Geography].[Country],5) on 1
from [AdventureWorksMF]