| T O P I C    R E V I E W | 
              
                | asafok | Posted - 03/30/2020 : 10:21:12 AM Origin 2020 (64-bit) SR1
 Operating System: windows 10
 Hello
 I write this line in the F(x)= (column calculation row):
 P<=10?:B-D/E
 the result of the condition is exactly the opposite: only the P>10 execute B-D/E.
 ?
 //Asaf
 | 
              
                | 2   L A T E S T    R E P L I E S    (Newest First) | 
              
                | Chris D | Posted - 03/30/2020 : 11:23:37 AM That is the correct behavior for the ternary operator.
 
 For the logical statement:
 if A==<value> then X else Y
 
 The ternary operator would be:
 A==<value> ? X : Y
 
 So, in
 P<=10?:B-D/E
 
 You have an else but not a then.
 
 Maybe you mean this:
 P<=10?B-D/E:
 
 More properly, you'd provide an else in the form of something that equates to a "missing value": E.g.:
 P<=10?B-D/E:0/0
 
 where 0/0 equates to a missing value.
 
 Thanks,
 Chris Drozdowski
 Originlab Technical Support
 
 | 
              
                | YimingChen | Posted - 03/30/2020 : 11:13:32 AM Should be
 
 P<=10?B-D/E: 
 James
 |