Conditional statement in expression tag

I am trying to choose between values in an expression tag. Previously i have just created intermediate memory tags for this but from reading the manual this should be possible all in one step.
I tag errors even when i use the actual value1.value

if {[.]value1} < {[.]…/value2}:

Any help is appreciated.

So, something like this: if({[.]value1} < {[.]../value2}, {[.]value1}+{[.]../value2}, {[.]../value1})

1 Like

Great Thanks! works perfectly