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

Register now to learn Fabric in free live sessions led by the best Microsoft experts. From Apr 16 to May 9, in English and Spanish.

Reply
Angel
Resolver III
Resolver III

date format is changed in power bi desktop

Hi, everybody

 

I am connecting Power BI Desktop with a query by ODATA.

 

This query has a column date format DD/MM/AAAA as it follows.

 

DateInQuery.JPG

 

 

 

 

However, when I use the tag data to transform the format to date, it transforms DD/MM/AAAA by MM/DD/AAAA

 

Afterformatdate.JPG

 

I use this regional setting in Power Bi Desktop

 

RegionalSetting.JPG

 

 

 

Any tip?

 

Thanks for your help

 

 

2 ACCEPTED SOLUTIONS
Eric_Zhang
Employee
Employee

@Angel

 

I don't know any Spanish, do you mean the problem is that the date column is predicated in "MM/DD/YYYY" rather than "DD/MM/YYYY" in that locale?

 

My text can be predicated in a "DD/MM/YYYY" format in the same locale in your post. I doubt the locale is overwritten in your case, check how the date type is changed in "advance editor" and try to find any code other than

= Table.TransformColumnTypes(Table5_Table, {{"date", type date}}, "es-ES")


You can also overwritten the locale forllowing below picture, right click on the column.
Capture.PNG

View solution in original post

Thanks!!!!

 

It works!!!!

View solution in original post

2 REPLIES 2
Eric_Zhang
Employee
Employee

@Angel

 

I don't know any Spanish, do you mean the problem is that the date column is predicated in "MM/DD/YYYY" rather than "DD/MM/YYYY" in that locale?

 

My text can be predicated in a "DD/MM/YYYY" format in the same locale in your post. I doubt the locale is overwritten in your case, check how the date type is changed in "advance editor" and try to find any code other than

= Table.TransformColumnTypes(Table5_Table, {{"date", type date}}, "es-ES")


You can also overwritten the locale forllowing below picture, right click on the column.
Capture.PNG

Thanks!!!!

 

It works!!!!

Helpful resources

Announcements
Microsoft Fabric Learn Together

Microsoft Fabric Learn Together

Covering the world! 9:00-10:30 AM Sydney, 4:00-5:30 PM CET (Paris/Berlin), 7:00-8:30 PM Mexico City

PBI_APRIL_CAROUSEL1

Power BI Monthly Update - April 2024

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

April Fabric Community Update

Fabric Community Update - April 2024

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