TM1 rule error

Post Reply
charan
Posts: 148
Joined: Tue Nov 23, 2010 9:04 am
OLAP Product: cognos tm1
Version: 9.5
Excel Version: 2007

TM1 rule error

Post by charan »

Hi I tried to write a rule like,
[target]=N:DB(cubename,dim1,dim2...dim7)*DB(cubename,dim1,dim2...dim11)*DB(cubename,dim1,dim2..dim11)\100;
My request is how make a particular dimension dynamice in the DB function instead of hardcoding.
please suggest me.
Is the error comes for mismatching of dimensions. In this case how to make non matching dimensions dynamic.
Please find the attachment for the error message.


TM1 9.5.2
Excel 2007.

Thank you
Attachments
TM1 error.JPG
TM1 error.JPG (20.9 KiB) Viewed 6637 times
charan
Posts: 148
Joined: Tue Nov 23, 2010 9:04 am
OLAP Product: cognos tm1
Version: 9.5
Excel Version: 2007

Re: TM1 rule error

Post by charan »

My exact question is in the rule for a dimension where I am getting error like "invalid synstax error" if i select single element in this particular dimension then I am not getting this error but it is hardcoding, please help me how to make this rule dynamic.



Thank you.
MSidat
Community Contributor
Posts: 110
Joined: Thu Aug 26, 2010 7:41 am
OLAP Product: TM1, PA
Version: PAL 2.0.8
Excel Version: 2016
Location: North West England

Re: TM1 rule error

Post by MSidat »

Charan,

Am I correct in assuming you are having issues with matching on the Cross Product Category Dimension?

If so does this dimension exist in your target cube i.e. the cube where you are writing the rule?

If it does not exists what is the link between your target cube and this dimension
Always Open to Opportunities
tomok
MVP
Posts: 2836
Joined: Tue Feb 16, 2010 2:39 pm
OLAP Product: TM1, Palo
Version: Beginning of time thru 10.2
Excel Version: 2003-2007-2010-2013
Location: Atlanta, GA
Contact:

Re: TM1 rule error

Post by tomok »

You have 130+ posts on this forum and you still haven't learned that if you ask for help, especially if you are showing error messages, you need to provide specific examples? Your error message and the example you have given ARE NOT THE SAME!!!!!!
Tom O'Kelley - Manager Finance Systems
American Tower
http://www.onlinecourtreservations.com/
charan
Posts: 148
Joined: Tue Nov 23, 2010 9:04 am
OLAP Product: cognos tm1
Version: 9.5
Excel Version: 2007

Re: TM1 rule error

Post by charan »

Hi Tomok,
It is confendintial, and more over I am alone working on TM1 and not much experience on it. This forum is like GOD for me.

Hi Sidat,

No the dimension is not existing in the target cube.

The target value is multiplication of three different cubes as I have posted. Therer are different dimensions from the source where it is not available in target cube.

The link to the cube is target value is price of a product. This products are avaialable in diffrent dimensions in different cubes. To get the price value for the combinations of diffrenent product selection I am multiplying those cubes.

Thank you
Alan Kirk
Site Admin
Posts: 6654
Joined: Sun May 11, 2008 2:30 am
OLAP Product: TM1
Version: PA2.0.9.18 Classic NO PAW!
Excel Version: 2013 and Office 365
Location: Sydney, Australia
Contact:

Re: TM1 rule error

Post by Alan Kirk »

charan wrote:Hi Tomok,
It is confendintial, and more over I am alone working on TM1 and not much experience on it.
Nobody needs to see the data, but it's impossible to diagnose an error message like that without knowing:
- The structures of the cubes involved (that is, the list of dimensions); and
- The exact rule syntax.

If rules refer to specific elements, it may be necessary to know the structure of the dimensions as well.

Otherwise it's just random guessing.
"To them, equipment failure is terrifying. To me, it’s 'Tuesday.' "
-----------
Before posting, please check the documentation, the FAQ, the Search function and FOR THE LOVE OF GLUB the Request Guidelines.
charan
Posts: 148
Joined: Tue Nov 23, 2010 9:04 am
OLAP Product: cognos tm1
Version: 9.5
Excel Version: 2007

Re: TM1 rule error

Post by charan »

Alan,
thank you.
Please find the attachment for the dimension list with the cube names.
Attachments
TM1 rule error..docx
(29.86 KiB) Downloaded 448 times
charan
Posts: 148
Joined: Tue Nov 23, 2010 9:04 am
OLAP Product: cognos tm1
Version: 9.5
Excel Version: 2007

Re: TM1 rule error

Post by charan »

Any suggestions please.
User avatar
Michel Zijlema
Site Admin
Posts: 713
Joined: Wed May 14, 2008 5:22 am
OLAP Product: TM1, PALO
Version: both 2.5 and higher
Excel Version: 2003-2007-2010
Location: Netherlands
Contact:

Re: TM1 rule error

Post by Michel Zijlema »

charan wrote:Any suggestions please.
The error is probably generated because you make a !dim type of reference to a dimension that is not part of the destination cube. You can use this type of reference only for the dimensions that are part of the destination cube (which makes sense if you think about it). For all dimensions referenced that are not part of the destination cube you need to come up with "somethinge else", depending on your exact requirements. This could be selecting a single element in these dimensions or use attributes or mapping cubes to derive the required selections.

Michel
Post Reply