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

View all the Fabric Data Days sessions on demand. View schedule

Reply
Anonymous
Not applicable

Sharepoint Date Format - Regional Settings - Locale issue

Hello

 

I want to create two Queries in the same workbook where one query links to a Sharepoint with US locale (date/region format) and the other to a Sharepoint with EU locale (date/region format).

 

The problem is that I need to specify the right locate/regional settings in the Query Options for it to work and not display Error in the Date columns.

 

However, this option seems to apply to both/all queries so when one query works the other doesn't.

 

I tried transforming the data to text, I tried changing the 'Using locale' option in the column and I tried DateTime.ToText in a new column but it does not work.

 

Any idea?

3 REPLIES 3
v-yingjl
Community Support
Community Support

Hi @Anonymous ,

See:

Table.TransformColumnTypes(table as table, typeTransformations as list, optional culture as nullable text) as table

You can use the specified culture in the optional parameter culture (for example, "en-US"). 

 

In this issue, if the default type of EU date is text, you can try like this:

= Table.TransformColumnTypes(#"Changed Type", {{"Column3", type date}}, "en-GB")

vyingjl_2-1632795387129.png

 

vyingjl_1-1632795377380.png

 

Refer:

  1. Table.TransformColumnTypes()
  2. Flawless Date Conversion in Power Query 

 

Best Regards,
Community Support Team _ Yingjie Li
If this post helps, then please consider Accept it as the solution to help the other members find it more quickly.

Anonymous
Not applicable

@v-yingjl  thanks I will try that although to be honest I saw several posts of this and the conclusion seems to be that it's a bug of the Api 15 (it works with Api 14).

mahoneypat
Microsoft Employee
Microsoft Employee

You can switch your datetime columns to datetimezone type and use DateTimeZone.SwitchZone to match them up.

 

Pat

 





Did I answer your question? Mark my post as a solution! Kudos are also appreciated!

To learn more about Power BI, follow me on Twitter or subscribe on YouTube.


@mahoneypa HoosierBI on YouTube


Helpful resources

Announcements
November Power BI Update Carousel

Power BI Monthly Update - November 2025

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

Fabric Data Days Carousel

Fabric Data Days

Advance your Data & AI career with 50 days of live learning, contests, hands-on challenges, study groups & certifications and more!

FabCon Atlanta 2026 carousel

FabCon Atlanta 2026

Join us at FabCon Atlanta, March 16-20, for the ultimate Fabric, Power BI, AI and SQL community-led event. Save $200 with code FABCOMM.