TM1Member

This function returns a member from a specified tuple.

A null member reference is returned when any of the following conditions are encountered:

  • A null Tuple parameter
  • An out-of-range numeric Index parameter
  • A dimension or hierarchy parameter not found in the passed tuple.

Syntax

TM1Member(Tuple, MemberSpecifier);

Argument

Description

Tuple

An expression that resolves to a tuple.

MemberSpecifier

This parameter can be either a 0-based numeric index into the tuple or the name of a dimension/hierarchy associated with the tuple. The following examples show both parameter types.

Example

TM1Member ( [model].Members.Item(23) ,0 ) ] 

This example uses a numeric index into the tuple as the MemberSpecifier argument.

TM1Member( [model].Members.Item(23), [Model] ) ] 

This example uses the name of a dimension associated with the tuple as the MemberSpecifier argument.