Skip to main content

Hi,

I'm getting ⌗Error and Null values instead of dates under column 'Initial target date'.

Format for both 'Initial target date' and 'actual closure date' is same in source file(tableau prep). 'actual closure date' is showing up correctly.

 

#Error and Null values instead of dates?Thanks in advance!

A

4 Antworten
  1. 4. Juli 2023, 10:25

    Hi @Atul B​ ,

     

    This is happening because "Initial Target closure date" field is not in proper format and it contains both text and date information.

    Hi @Atul B​ , This is happening becauseOne alternative to create a date field from this field is as follows. This replaces the TBD fields with NULL value. For other calculations you can handle the NULLs accordingly based on the data requirement

     

    IF [Initial Target closure date]='TBD'

    THEN NULL

    ELSE DATE([Initial Target closure date])

    END

     

    Regards,

    Ajay

    Please upvote and mark as Best Answer, if it helps you :)

0/9000