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

Don't miss out! 2025 Microsoft Fabric Community Conference, March 31 - April 2, Las Vegas, Nevada. Use code MSCUST for a $150 discount. Prices go up February 11th. Register now.

Reply
maxduff59
Helper II
Helper II

Convert a date in the right format

I am quite a newbie on Power BI and Power Query and I have a problem on the formatting of the data. 
Indeed, in my power query, my date format is 01/04/2022 which is supposed to be the 4th of January for me whereas Power Query is reading it as the 1st of April. 

Do you know how could I correct that mistake ?

Thanks in advance for your time and your help

1 ACCEPTED SOLUTION

Instead of changing the default behavior or your query editor, you can also set the culture manually in the step where you transform column types.

 

Set the optional culture parameter to "en-US" to interpret dates as "mm/dd/yyyy" instead of "dd/mm/yyyy".

https://docs.microsoft.com/en-us/powerquery-m/table-transformcolumntypes

View solution in original post

2 REPLIES 2
BA_Pete
Super User
Super User

Hi @maxduff59 ,

 

In Power Query, go to File > Options & Settings, then navigate here to adjust how PQ deals with regional settings globally:

BA_Pete_0-1659536720741.png

 

 

And here for the specific file:

BA_Pete_1-1659536815425.png

 

Pete



Now accepting Kudos! If my post helped you, why not give it a thumbs-up?

Proud to be a Datanaut!




Instead of changing the default behavior or your query editor, you can also set the culture manually in the step where you transform column types.

 

Set the optional culture parameter to "en-US" to interpret dates as "mm/dd/yyyy" instead of "dd/mm/yyyy".

https://docs.microsoft.com/en-us/powerquery-m/table-transformcolumntypes

Helpful resources

Announcements
Las Vegas 2025

Join us at the Microsoft Fabric Community Conference

March 31 - April 2, 2025, in Las Vegas, Nevada. Use code MSCUST for a $150 discount! Prices go up Feb. 11th.

Jan25PBI_Carousel

Power BI Monthly Update - January 2025

Check out the January 2025 Power BI update to learn about new features in Reporting, Modeling, and Data Connectivity.

Jan NL Carousel

Fabric Community Update - January 2025

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