Forum Discussion
Anonymous
5 years agoNot applicable
How to Change empty value within date value
Hi amitchandak Greg_Deckler and team Hope you are and team in well condition I got an error while changing data type due there are empty field . [ Column Dockin Time ] actually I have oth...
- Anonymous5 years ago
Hi Anonymous
I think I find the reason of this issue.
Your code is as below.
X.DIN = IF(Query1[DockInDateTime]="",Query1[VehicleReportingDateTime],Query1[DockInDateTime])"" is text format, so you will get error. You can use isblank or blank instead of "".
Try this code.
X.DIN = IF(Query1[DockInDateTime]=BLANK(),Query1[VehicleReportingDateTime],Query1[DockInDateTime])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.
Anonymous
5 years agoNot applicable
Hi Anonymous
I think I find the reason of this issue.
Your code is as below.
X.DIN = IF(Query1[DockInDateTime]="",Query1[VehicleReportingDateTime],Query1[DockInDateTime])
"" is text format, so you will get error. You can use isblank or blank instead of "".
Try this code.
X.DIN = IF(Query1[DockInDateTime]=BLANK(),Query1[VehicleReportingDateTime],Query1[DockInDateTime])
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.