OpeningPeriod
The MDX OpeningPeriod function for Essbase returns the first descendant of a layer, or the first child of the Time dimension.
Syntax
OpeningPeriod ( [ layer [,member ]] )
Parameters
Notes
The return value of this function varies depending on the input.
-
When no arguments are specified, the input member is assumed to be the current member of the Time dimension, and Openingperiod returns the first child of that member. Do not use this function without arguments if there is no dimension tagged as Time.
-
When both layer and member arguments are given as input, Openingperiod returns the first descendant of the input member at the input layer. For example,
Openingperiod(Year.generations(3), Qtr3)
returnsJul
. If the input member and layer are the same layer, the output is the input member. For example,Openingperiod(Year.generations(3), Jul)
returnsJul
. -
When only the layer argument is specified, the input member is assumed to be the current member of the dimension used in the layer argument. Openingperiod returns the first descendant of that dimension, at the input layer. For example,
Openingperiod(Year.generations(3))
returnsOct
.