Forum Discussion
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
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
2 Replies
- AlexisOlsonSuper User
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