Page 1 of 1
Writing MDX via TI
Posted: Thu Aug 19, 2010 1:24 am
by bunchukokoy
Guys,
Good morning!
I just wanna know, is there a way I can write an MDX in the Expression window via TI? And if there is, can you please mention how. Thanks!
(You are highly appreciated)
bunchukokoy
Re: Writing MDX via TI
Posted: Thu Aug 19, 2010 1:26 am
by Alan Kirk
bunchukokoy wrote:
I just wanna know, is there a way I can write an MDX in the Expression window via TI? And if there is, can you please mention how. Thanks!
Look in the Help documents for the TI function
SubsetCreatebyMDX.
Re: Writing MDX via TI
Posted: Thu Aug 19, 2010 1:28 am
by bunchukokoy
Thanks! Allan,
bunchukokoy
Re: Writing MDX via TI
Posted: Thu Aug 19, 2010 1:29 am
by lotsaram
RTM!
9.5.1 Reference Guide (verbatim) wrote:SubsetCreateByMDX
This is a TM1® TurboIntegrator function, valid only in TurboIntegrator processes.
This function creates a public subset based on a passed MDX expression.
Syntax
SubsetCreatebyMDX(SubName, MDX_Expression);
Argument
Description
SubName
The name you want to assign to the subset.
MDX_Expression
An MDX expression that returns a subset.
Example
SubsetCreatebyMDX('0-level months', '{TM1SORT( {TM1FILTERBYLEVEL( {TM1SUBSETALL( [month] )}, 0)}, ASC)} ' );
This example creates a public subset named '0-level months' based on an MDX expression that returns a subset consisting of all 0-level elements in the Month dimension, sorted in ascending alphabetical order.
Re: Writing MDX via TI
Posted: Thu Aug 19, 2010 1:57 am
by bunchukokoy
Thanks guys!
