The following string comparrison of a DB() string value to element name reference throws an (incorrect) error of the type "incorrect logical comparison" and won't save the rule.
Code: Select all
IF( DB( 'Input Cube', !Version, !Company, '!Division', 'Investment Year' ) @= !Year & <comparison 2 ...>
After much muttering, swearing, abuse of furniture, etc. it turns out that the error in the rule evaluation can be gotten around by reversing the order of the comparison. That is the following works and compiles no problem:
Code: Select all
IF( !Year @= DB( 'Input Cube', !Version, !Company, '!Division', 'Investment Year' ) & <comparison 2 ...>
I don't have TM1 10.1 to test against but I assume this bug is probably there too. Anyone else banged their head against this bug before and know if it is fixed in 10.2?