MDX subset in TI based on cube values?
Posted: Mon Dec 02, 2013 11:48 pm
Hi,
I'm having trouble creating a dynamic subset in TI based on evaluating a cube's value.
It works great when I create the view interactively... but if I try to use the same expression to create a subset in TI with SubsetCreatebyMDX (in order to call ViewZeroOut() ), it fails with msg:
Error: Data procedure line (71): Could not create dynamic subset:
expression:
{FILTER( {TM1FILTERBYLEVEL( {TM1SUBSETALL( [RowDimension] )}, 0)}, [Cube].([Cube Measure].[Measure C]) > 0)}
[Measure C] is a TM1 rule evaluated from comparing Measure B and another dimension's attribute based on date calculations.
Just wondering if anyone has successfully done this in TI ?
Thanks in advance
I'm having trouble creating a dynamic subset in TI based on evaluating a cube's value.
It works great when I create the view interactively... but if I try to use the same expression to create a subset in TI with SubsetCreatebyMDX (in order to call ViewZeroOut() ), it fails with msg:
Error: Data procedure line (71): Could not create dynamic subset:
expression:
{FILTER( {TM1FILTERBYLEVEL( {TM1SUBSETALL( [RowDimension] )}, 0)}, [Cube].([Cube Measure].[Measure C]) > 0)}
[Measure C] is a TM1 rule evaluated from comparing Measure B and another dimension's attribute based on date calculations.
Just wondering if anyone has successfully done this in TI ?
Thanks in advance