Skip navigation.
spilling the beans

TM1 operators

developers
|

logical operators:
& AND
% OR
~ NOT

strings operators:
| concatenate
@= string1 equals string2
@<> string1 differs from string2

inserting '&' in strings:
ItemReject('This & That'); will return 'This _That'
ItemReject('This && That'); will return 'This & That'


Average rating
(1 vote)

Problem with @<>

I do not know how it works now, but in one of older TM1 versions I had to replace:

IF(sVariable@<>'CompareWithMe');
with
IF(~(sVariable@='CompareWithMe'));

The first one did not work as I expected.
HTH