StrToMember

Analysis Services

Analysis Services

StrToMember

Returns a member from a string expression in Multidimensional Expressions (MDX) format.

Syntax

StrToMember(«String Expression»)

Returns a member from a string in MDX format containing a member, specified in «String Expression».

Remarks

The StrToMember function is typically employed with user-defined functions.

Example

The following example returns the member Time.[1996]:

StrToMember("Time.[1996]")