fbpx

StrToHierarchy (MDX+)

Converts a string to a hierarchy representation.

Parameters

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

Return

level

Description

Converts a string to its hierarchy representation.

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

- with the CONSTRAINED flag, only MDX hierarchy'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.