Forum Discussion
Replace two blank date fields with another date column
- Anonymous4 years ago
Hi NipawanV ,
I have a test by your code, I and I could reproduce your problem. I think your issue should be caused that your conditional statement will go [Due Date (scheduledend)] = BLANK(), [Actual End Date] firstly, then it will return blank , there is something wrong in your And() function.
Try this code.
Date3 = IF ( AND ( [Due Date (scheduledend)] = BLANK (), [Actual End Date] = BLANK () ), activitypointers[modifiedon], IF ( [Due Date (scheduledend)] = BLANK (), [Actual End Date], IF ( [Actual End Date] = BLANK (), [Due Date (scheduledend)], [Actual End Date] ) ) )Result is as below.
Best Regards,
Rico ZhouIf this post helps, then please consider Accept it as the solution to help the other members find it more quickly.
Hi NipawanV ,
I have a test by your code, I and I could reproduce your problem. I think your issue should be caused that your conditional statement will go [Due Date (scheduledend)] = BLANK(), [Actual End Date] firstly, then it will return blank , there is something wrong in your And() function.
Try this code.
Date3 =
IF (
AND ( [Due Date (scheduledend)] = BLANK (), [Actual End Date] = BLANK () ),
activitypointers[modifiedon],
IF (
[Due Date (scheduledend)] = BLANK (),
[Actual End Date],
IF (
[Actual End Date] = BLANK (),
[Due Date (scheduledend)],
[Actual End Date]
)
)
)
Result is as below.
Best Regards,
Rico Zhou
If this post helps, then please consider Accept it as the solution to help the other members find it more quickly.
Hello Rico,
Many thanks indeed for the solution. This is perfectly working well.
With best regards,
Nipawan