BELONGSTO
Syntax
<belongsto-expression> := 'BELONGSTO(' <Key> ')'
Since
2.2
Return-type
Boolean
Description
This function returns true, if the selected key (or at least one of the selected keys) of the dimension defined by the arguments is equal, child of or parent of the key passed as the argument. If the argument is NULL, the function returns FALSE.
This function is mainly used in matching expression, e.g. for cubes.
Examples
BELONGSTO( Time:'01/2005' )
Returns true for Time:'01.01.2005', Time:'2005' etc.
See also
ISCHILDOF, ISPARENTOF
