Enum Values (enumValues)

The Enum Values property specifies an optional list of strings that represent ordinal values.

In the Properties view, this property is the Enum Values property in the Value category.

This attribute is applicable for numeric dimensions only whose value is limited to a range of whole numbers representing a set of symbols.

Consider a dimension containing the values 0 through 11, representing the months of the year (0=Jan, 1=Feb, ..., 11=Dec). For this example, you could set Enum Values = "Jan,Feb,Mar,Apr,May,Jun,Jul,Aug,Sept,Oct,Nov,Dec". When the dimensions are sorted (inputOrder and displaySelection differ), it can make a visual difference whether the column is declared a numeric enumeration or as a string column containing the literal value and not its ordinal value. The difference comes from the sorting. In the first case (a numeric enumeration), the month will be displayed in the order "Jan, Feb, ..., Dec". In the second case, the alphabetic order of the month names would result in the order "Apr, Aug, Dec, ...".

Type: List of quotable strings