Skip to main content

Properties

Properties

Each level may define any number of properties. If a level has a property, then each member of that level has a value for that property; other levels do not have values for the property.

In the Patients sample, the City level includes the properties Population and Principal Export.

Each property is based on a source value, which is either a class property or an ObjectScript expression. For the City level, the properties Population and Principal Export are based directly on class properties.

You can use properties in queries in much the same way that you use measures. For example, in the Analyzer, you can use properties as columns (this example shows two properties):

A pivot table with a City in each row and columns for the properties Population and Principal Export.

In contrast to measures, properties cannot be aggregated. A property is null for all levels except for the level to which it belongs.

See Defining Properties.

FeedbackOpens in a new tab