I’m trying to calculate the number of Days an Order took from BDate to CDate based on the “Date” field. If the” Date” is blank then need to ignore that Order. The below expression is calculating the days correctly for most cases but when the Order has either only BDate or CDate it’s not calculating it correctly. There should be value for both BDate and CDate, if either BDate or CDate is blank then need to ignore that order.
For example in the attached qvw and excel Order PTC has only CDate, BDate is blank so this order should be ignored. I tried to write the following expression but it’s not working. Please can someone help me with the expression? Thanks,