Forum Discussion

sarvesh23p's avatar
sarvesh23p
New Member
3 years ago
Solved

Convert Date from text data type to Date data type

Hi All,   I have imported a data from Kaggle and having issue in converting a Date column from text data type to Date data type. I can split the column and get the reqired data but need to underts...
  • Anonymous's avatar
    Anonymous
    3 years ago

    Hi sarvesh23p ,

    Did you get any error message when change the data type for date column? As you can see the below gif, it can display normally when change the data type of date column as Date type....

    Date/time types

    And you can create a calculated column as below to get a date type column and delete the original date column...

     

    Ndate = DATE ( LEFT ( 'Table'[date], 4 ), MID ( 'Table'[date], 5, 2 ), RIGHT ( 'Table'[date], 2 ) )

     

    Best Regards