Forum Discussion

Adityaa46's avatar
Adityaa46
Copper Contributor
Aug 02, 2022
Solved

Excel Powerquery converting incorrect dates

Hi All,   I am extracting dates from a text column and converting them into dates. I have Some dates getting corrrectly parsed but however some dates are getting incorrectly parsed. I am us...
  • Riny_van_Eekelen's avatar
    Riny_van_Eekelen
    Aug 02, 2022

    Adityaa46 Then I suspect that some texts have trailing spaces. For example, if the text ends with "...Final_25Jan21 " and you take the last 7 characters, PQ returns "5Jan21 ". Use the Trim option on the text column before you split it.

Resources