StrToValue (MDX)

Converts a string to its value representation.

Parameters

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

Return

value

Description

Converts a string to its numeric value (e.g. 2.2)

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

- with the CONSTRAINED flag, only string containing directly a numeric expression can used (e.g. '2.2').

See Also

StrToLevel StrToMember StrToSet StrToTuple

Examples

Special Examples (errors, null, ...)

XMLA Properties

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