Skip to main content

Defining a Property for a List-Based Level

Defining a Property for a List-Based Level

If the associated level is list-based, you must define the property as follows:

  • Specify a value for Expression.

  • In the expression, refer to the %value variable. This variable contains the value of the associated list element.

For example, consider the Allergy Severities level in the Patients cube. This level has a property that controls the sort order of the members of this level. This property (SeveritySort) is defined by the following expression:

%cube.GetSeveritySort(%value)

This executes the GetSeveritySort() method in the cube class and the allergy severity (a string) as a argument. The method returns an integer.

FeedbackOpens in a new tab