Create two calculated items. The first one will have expression like:
and the second one will reference the first item like:
Type of information: Numeric (float) for both of them.
The second item becomes unsupported with the following error:
In the process of expression evaluation server simply substitutes trigger functions with their value without putting them in parentheses, which can sometimes produce invalid expressions (like "--1" in our example) for further evaluation stages.