MDX Documentation
LookupByKey (icCube MDX extension)

Returns the first member in a given level/hierarchy matching the parameter key.

Parameters

Name Type Cardinality Default value
  hierarchy-level-expression  one   
  value-expression  one   

Return

member

Description

The function returns the first member matching the key specified in the value expression.

If a hierarchy is specified the algorithm will start at the first level and continue until a matching member is found.

It is similar to strToMember("Level-expresssion" + "&[" + value-expression + "]") function, but faster and specially useful when the key is a date or a time object.

See Also

strToMember

Examples

XMLA Properties

Find here the value of the XMLA properties when not specified otherwise.

icCube OLAP version: 2.5.1 13-May-2012 02:21:10 GMT