A
AMFLMSC
This is what I am trying to do:
I have two conditions that I want the if statement to look at.
If my CF_Premium is greater than 0 and my FLS_Premium is less than 0, add the
two values.
This is what I tried first and I get an error message:
Premium_Variance:IIF(and([CF_Premium]>0,[FLS_Premium]<0),[CF_Premium]+
[FLS_Premium],IIF(and([CF_Premium]<0,[FLS_Premium]>0),[CF_Premium]+
[FLS_Premium],0))
Then I tried this:
Premium_Variance:IIF([CF_Premium]>0 and [FLS_Premium]<0,[CF_Premium]+
[FLS_Premium],IIF([CF_Premium]<0 and [FLS_Premium]>0,[CF_Premium]+
[FLS_Premium],0))
I have two conditions that I want the if statement to look at.
If my CF_Premium is greater than 0 and my FLS_Premium is less than 0, add the
two values.
This is what I tried first and I get an error message:
Premium_Variance:IIF(and([CF_Premium]>0,[FLS_Premium]<0),[CF_Premium]+
[FLS_Premium],IIF(and([CF_Premium]<0,[FLS_Premium]>0),[CF_Premium]+
[FLS_Premium],0))
Then I tried this:
Premium_Variance:IIF([CF_Premium]>0 and [FLS_Premium]<0,[CF_Premium]+
[FLS_Premium],IIF([CF_Premium]<0 and [FLS_Premium]>0,[CF_Premium]+
[FLS_Premium],0))