StrToLevel (MDX+)

Converts a string to a level representation.

Parameters

Name Type Cardinality Default value
  string-expression  one   
  CONSTRAINED  zero-one   

Return

level

Description

Converts a string to its level representation.

- without the CONSTRAINED flag, the string can contain any valid MDX expression that can be converted into a MDX level.

- with the CONSTRAINED flag, only MDX level's name can be used. This allows to avoid code injection into the server.

See Also

StrToMember StrToSet StrToTuple StrToValue

Examples

Special Examples (errors, null, ...)

XMLA Properties

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