tail

Returns the last "index_expression" elements of "set expression". The default for "index_expression" is 1.

Syntax

tail ( set_expression [ , index_expression ] )

Example 1

tail (members ( [great_outdoors_company].[Products].[Products].
[Product line] ) )

Result

Returns the last member of the Product line set.

Result data

Personal Accessories

Example 2

tail ( members ( [great_outdoors_company].[Products].[Products].
[Product line] ) , 2 )

Result

Returns the last two members of the Product line set.

Result data

Outdoor Protection
Personal Accessories