I have a set of data below.
I want to add the red marker then subtract it to the blue marker.
I tried using Scripted Field.
But when I go back to discovery I have this error.
If I will put it on the line graph I want to subtract the blue line from the green line to see the difference on the data.



