Can someone please let me know if I'm typing this expression all wrong, or if it's even possible to do what I'm trying to do? Any help would be greatly appreciated.
The objective is that for Transactions which have been forecast or reconciled (with a bank statement) there is an updated date (as a forecast can't be in the past and a reconciled transaction may have a different date from forecast), for the rest, the original date will be use.
My problem is the expression above, always returns the updated date, which for the other transactions is zero. If I remove the 'OR 'Reconciled' bit it works, except now reconciled transactions don't return the updated date.
Thanks in advanced for any help.
Code:
IIf([Transactions]![Status]='Forecast' OR 'Reconciled' , [Updated Date] , [Original Date])
The objective is that for Transactions which have been forecast or reconciled (with a bank statement) there is an updated date (as a forecast can't be in the past and a reconciled transaction may have a different date from forecast), for the rest, the original date will be use.
My problem is the expression above, always returns the updated date, which for the other transactions is zero. If I remove the 'OR 'Reconciled' bit it works, except now reconciled transactions don't return the updated date.
Thanks in advanced for any help.