In VA 6.3 I am trying to calculate the difference between 2 datetime stamps - but only when both are not missing. Currently, I am getting the missing date as Jan 1 1960, and a very large # of days for my calculation which I don't want. I want to NOT display the Missing value as January 1 1960 12:00:00 AM in the PREV ETR D/T column and NOT have a result for the calculation if one of the dates is missing in my data source. These are my calculated items and calculations so far for the example above. PREV ETR D/T column: Parse('PREV ETR'n, 'ANYDTDTM19.') DIFF_ETR_CHANGED_TIME_PREV_ETR column: TreatAs(_Number_, ( TreatAs(_Number_, 'TIME OF ETR CHANGE BY OP/SVCMAN'n) - TreatAs(_Number_, 'PREV ETR D/T'n) )) I have tried to put an IF...THEN..ELSE around the calculation and only have it executed if the PREV ETR D/T is not missing - but I can't seem to get that to work. Any help is greatly appreciated. Thanks!
... View more