Skip to main content
cancel
Showing results for 
Search instead for 
Did you mean: 

Score big with last-minute savings on the final tickets to FabCon Vienna. Secure your discount

Reply
Anonymous_
Frequent 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. I have tried through the date formats given already in power query. I have tried the Date.FromText formula as well and to no avail. 

 

Is there anything that I'm missing? Please help! 

 

Thanks in advance! 

 

 

2 REPLIES 2
ronrsnfld
Super User
Super User

Probably 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

ronrsnfld_0-1756232350121.png

 

 

 

dufoq3
Super User
Super User

Hi @Anonymous_, check this:

Before

dufoq3_0-1756213635355.png

 

After

dufoq3_1-1756213646309.png

let
    Source = #table(null, {{"05/25/2025"}}),
    ConvertedToDate = Table.TransformColumns(Source, {{"Column1", each Date.FromText(_, [Culture="en-US"]), type date}})
in
    ConvertedToDate

Note: Check this link to learn how to use my query.
Check this link if you don't know how to provide sample data.

Helpful resources

Announcements
August Power BI Update Carousel

Power BI Monthly Update - August 2025

Check out the August 2025 Power BI update to learn about new features.

August 2025 community update carousel

Fabric Community Update - August 2025

Find out what's new and trending in the Fabric community.

Top Solution Authors