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
MDX subset in TI based on cube values?
-
- 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?
This error suggests to me that either syntax or some of the variables are wrongError: Data procedure line (71): Could not create dynamic subset:
expression:
{FILTER( {TM1FILTERBYLEVEL( {TM1SUBSETALL( [RowDimension] )}, 0)}, [Cube].([Cube Measure].[Measure C]) > 0)}
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
-
- 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?
Hi TSW,
I don't think you should zero out the view which had rules being applied to it.
Regards,
Jay
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