hmayer


does subcube functions respect the current subcube

if I nest them inside a scope

Like

FREEZE - I guess not

LEAVES - I guess yes

Is it true if I guess - Scripting Statements - no - Functions - yes

HANNES





Re: subcube functions

Mosha Pasumansky


If by current subcube you mean "CREATE SUBCUBE" on the session, then it doesn't have effect on the statements in MDX Script such as FREEZE, since they are evaluated before session commands.

If by current subcube you mean what "this" evaluates to, then FREEZE respects it (because FREEZE is equivalent to FREEZE this) in nested SCOPEs and everything.