Defining Rule Calculation

Post Reply
krithika331
Posts: 44
Joined: Thu May 01, 2014 12:46 pm
OLAP Product: Cognos TM1
Version: 10.2
Excel Version: 2010

Defining Rule Calculation

Post by krithika331 »

Hi,

I have a rule calculation to be defined for ratio (x/y). I tried to define it in the general way as z = N: (x/y) and also z= C: (x/y) for both the Leaf and consolidation level. I came across a different situation where the resultant value is giving the some junk value (numeric with decimal) and the not the actual result of x/y. I am using 10.2 version. But when i have removed defining the qualifier (N or C) , i.e. z = (x/y) the ratio values gave me the correct values. I defined the Feeders for both x and y. But this will decrease the performance without defining the qualifier.

I didn't had this issue when worked with 9.5.2 version. Any ideas??


Thanks in advance !!
Alan Kirk
Site Admin
Posts: 6667
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: Defining Rule Calculation

Post by Alan Kirk »

krithika331 wrote:Hi,

I have a rule calculation to be defined for ratio (x/y). I tried to define it in the general way as z = N: (x/y) and also z= C: (x/y) for both the Leaf and consolidation level. I came across a different situation where the resultant value is giving the some junk value (numeric with decimal) and the not the actual result of x/y. I am using 10.2 version. But when i have removed defining the qualifier (N or C) , i.e. z = (x/y) the ratio values gave me the correct values. I defined the Feeders for both x and y. But this will decrease the performance without defining the qualifier.

I didn't had this issue when worked with 9.5.2 version. Any ideas??
Do you have the AllowSeparateNandCRules parameter set in your tm1s.cfg file? If so, what is is it set to?
"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.
krithika331
Posts: 44
Joined: Thu May 01, 2014 12:46 pm
OLAP Product: Cognos TM1
Version: 10.2
Excel Version: 2010

Re: Defining Rule Calculation

Post by krithika331 »

I have checked the Tm1s.cfg file and the value for AllowSeparateNandCRules parameter is T. Is there any other property to be set in the cfg file.


Thanks in Advance !!
User avatar
jim wood
Site Admin
Posts: 3961
Joined: Wed May 14, 2008 1:51 pm
OLAP Product: TM1
Version: PA 2.0.7
Excel Version: Office 365
Location: 37 East 18th Street New York
Contact:

Re: Defining Rule Calculation

Post by jim wood »

Have you tried ['Z'] = (X\Y);

Or is the calculation different for both N and C? Also have you made sure that you are using \ and not /???

Jim.
Struggling through the quagmire of life to reach the other side of who knows where.
Go Build a PC
Jimbo PC Builds on YouTube
OS: Mac OS 11 PA Version: 2.0.7
Post Reply