Can anybody see an error in the following SSRS expression? It's giving me an error when I run the report.
I simply want to check if WorkflowCode is FINALRO or DRRO or DELRO and TemporaryPermanent is 1 then make it 0 otherwise make it 1.
I basically want to use an "IN" operator.
=IIF (LTRIM(RTRIM(Fields!WorkflowCode.Value="FINALRO")) OR
LTRIM(RTRIM(Fields!WorkflowCode.Value="DRRO "))OR
LTRIM(RTRIM(Fields!WorkflowCode.Value="DELRO "))AND
Fields!TemporaryPermanent.Value = 1,0,1)