Forum Discussion
Anonymous_
1 year agoFrequent Visitor
Excel - Power Query
Hi Everyone! My date column has values in the format of mm/dd/yyyy and are recognised as text. The issue is that I am unable to convert them to the date type. Each time I try, it throws an error...
- 1 year ago
Hi Anonymous_, check this:
BeforeAfter
let Source = #table(null, {{"05/25/2025"}}), ConvertedToDate = Table.TransformColumns(Source, {{"Column1", each Date.FromText(_, [Culture="en-US"]), type date}}) in ConvertedToDate
ronrsnfld
Super User
1 year agoProbably you are missing the culture argument.
Try
TransformDate = Table.TransformColumnTypes(Source,{{"date", type date}}, "en-US")
or right-click the column and select
Change Type => Using Locale => and select Date and English-United States