DB

This function indicates a reference to an area in a cube other than the cube for which the rule is written. This other cube is called an external cube and the reference to it is an external reference.

Do not use DB in dimension related rules functions.

Syntax

DB(Cube, Dim1, ..., DimN)

Cube is the name of the external cube. Dim1...DimN are elements from the dimensions of this cube. All arguments must be strings or functions returning strings and the dimension order must be the same as when the cube was created.

As arguments for Dim1...DimN you can either specify one element from the dimension or you can specify the dimension as a variable. To indicate the dimension as a variable, precede the dimension name with an exclamation mark. For example:

DB('COST',!TIME, !VERSION, 'LC', !LEVEL, !UNIT, !INTERCO, 'Depreciation', 'Material')

The external cube does not need to have the same dimensional structure as the cube for which the rule is being written. But, if you indicate a dimension as a variable, the variable dimension must be a superset of the corresponding dimension in the cube for which the rule is being written.