Cube rules

The OLAP Server cube rules are functions that are written for cubes.

See Rules functions.

Because they are written for a cube, rather than a dimension, they can use elements from multiple dimensions. For example:

['Price','Brazil'] = ['Sales','Brazil']/['Units','Brazil']

This rule applies to the element Price from the Measures dimension and Brazil from the Regions dimension.

Cube rules can even refer to values in cubes other than the one for which the rule is written.

See Writing rules to external cubes.