MDX subset in TI based on cube values?

Post Reply
tsw
Posts: 47
Joined: Tue Nov 12, 2013 12:14 am
OLAP Product: TM1, PowerPlay, Transformer
Version: PA 2.0.4
Excel Version: Office 365

MDX subset in TI based on cube values?

Post by tsw »

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
EvgenyT
Community Contributor
Posts: 324
Joined: Mon Jul 02, 2012 9:39 pm
OLAP Product: TM1
Version: PAL 2.0.8
Excel Version: 2016
Location: Sydney, Australia

Re: MDX subset in TI based on cube values?

Post by EvgenyT »

Error: Data procedure line (71): Could not create dynamic subset:
expression:
{FILTER( {TM1FILTERBYLEVEL( {TM1SUBSETALL( [RowDimension] )}, 0)}, [Cube].([Cube Measure].[Measure C]) > 0)}
This error suggests to me that either syntax or some of the variables are wrong

Cube.. is it the real name of the cube you are using???
RowDimension.. is it the real name of the dimension you are using???


Can you please post the real syntax you are using in your TI process?

It should be pretty straightforward.


ET
panyuleo
Posts: 2
Joined: Tue Oct 23, 2012 10:14 pm
OLAP Product: TM1
Version: 9.5
Excel Version: 2007

Re: MDX subset in TI based on cube values?

Post by panyuleo »

Hi TSW,
tsw wrote:[Measure C] is a TM1 rule evaluated from comparing Measure B and another dimension's attribute based on date calculations.


I don't think you should zero out the view which had rules being applied to it.


Regards,
Jay
Post Reply