I have two date fields in my dataset. They are labled OperativeA and OperativeB and are populated based on who a job has been assigned to. Users will only be able to add a date to one of the fields so only 1 of the date fields will be used meaning when I run the report, the date field that is not used shows blank.
I am trying to write a calculated field so that if both date fields are blank then it shows as "unassigned" else show the operative it has been assigned to. OperativeA or OperativeB.
So far, I have created 2 calculated fieds:
=IIF(IsNothing(Fields!OperativeA.Value), "Unassigned", Fields!OperativeA.Value)
=IIF(IsNothing(Fields!OperativeB.Value), "Unassigned", Fields!OperativeB.Value)
These work but I haven't really achieved anything as I still have 2 fields!
I'm strugginling 2 combine these so that I only have 1 field that either shows "unassigned" or either one of the operatives.
Has anyone got any advice that would help me to achieve the 1 field?
Many thanks