TM1 rule calculation problem with decimal places
Posted: Mon Sep 15, 2014 12:28 pm
Hello,
I have a problem in TM1 9.5.2 (9.5.20100.18046, 64 Bit, Excel 2013, Perspectives) with data with decimal places in tm1 rule calculations.
In this example, I have a time dimension
( ‘Time’,
consolidated element: Year
leaf Elements: Jan, Feb, Mar, Apr, May, Jun, Jul, Aug, Sept, Oct, Nov, Dec)
and a measure dimension:
‘measures’ with two measures (‘measure1’ , ‘measure2’)
I have a rule that looks for ‘measure2’ / ‘Year’:
Rule:
['measure1'] =N:if(['measure2,'Year']= 100, 100, 1);
If the measure2 is 100 , then the measure1 should be 100, too (for the leaf elements)
This works fine, but if I use 4 decimal places for the leaf elements even if the measure2 is 100 for year, in some cases like the one in the picture attached,
the rule behaves like the measure2 is not 100. The separator for the decimal places is ‘,’ .
Am I doing something wrong or might this be a tm1 bug (rounding problem) ?
Thanks in advance,
Steffi
I have a problem in TM1 9.5.2 (9.5.20100.18046, 64 Bit, Excel 2013, Perspectives) with data with decimal places in tm1 rule calculations.
In this example, I have a time dimension
( ‘Time’,
consolidated element: Year
leaf Elements: Jan, Feb, Mar, Apr, May, Jun, Jul, Aug, Sept, Oct, Nov, Dec)
and a measure dimension:
‘measures’ with two measures (‘measure1’ , ‘measure2’)
I have a rule that looks for ‘measure2’ / ‘Year’:
Rule:
['measure1'] =N:if(['measure2,'Year']= 100, 100, 1);
If the measure2 is 100 , then the measure1 should be 100, too (for the leaf elements)
This works fine, but if I use 4 decimal places for the leaf elements even if the measure2 is 100 for year, in some cases like the one in the picture attached,
the rule behaves like the measure2 is not 100. The separator for the decimal places is ‘,’ .
Am I doing something wrong or might this be a tm1 bug (rounding problem) ?
Thanks in advance,
Steffi