A possible issue may be that JMP may be having an issue with
Behaviorial - physical aggression to staff
Is this a calculation of a column or variable called
Behavioral
from which is subtracted a column or variable called
physical aggression to staff
or
is this a single column or variable called
Behavioral - physical aggression to staff
JMP can get confused over this. If it is one column and not a calculation, you should actually state the formula as
If( :Name("Behavioral - physical aggression to staff") == 1,
1,
0
);
The JMP formula editor will not display the :Name() function, but by you putting into your formula, it will make sure JMP understands what you are specifying.
Jim