Returns the internal numeric value for a text value in a text list.
Syntax
EnumValue (enum_string)
Parameter | Description |
---|---|
enum_string | Either textlistname.string_literal or textlistmembername.string_literal, where
|
Example
The following expression shows how EnumValue can be used to filter employees based on their title, which is stored as a text list in [Measures].[Title].
FILTER([Employee].Levels[0].Members, [Measures].[Title] = EnumValue([Job Titles]."Manager") )