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

Find everything you need to get certified on Fabric—skills challenges, live sessions, exam prep, role guidance, and more. Get started

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
Europe Fabric Conference

Europe’s largest Microsoft Fabric Community Conference

Join the community in Stockholm for expert Microsoft Fabric learning including a very exciting keynote from Arun Ulag, Corporate Vice President, Azure Data.

July 2024 Power BI Update

Power BI Monthly Update - July 2024

Check out the July 2024 Power BI update to learn about new features.

July Newsletter

Fabric Community Update - July 2024

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

Top Solution Authors
Top Kudoed Authors