DIMNM
DIMNM returns the element of a dimension that corresponds to the index argument.
This function is valid in both rules and TurboIntegrator processes.
Syntax
DIMNM(server_name:dimension, index)
Argument |
Description |
---|---|
dimension |
A valid dimension name qualified by the database name. |
index |
A value less than or equal to the number of elements in the dimension. If this argument is less than 1, or greater than the number of elements in the dimension, the function returns 0. |
Example
This example returns 'Belgium', which is the element within the Region dimension with an index value of 2.
DIMNM(planning_sample:'Region',2)