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
Anonymous
Not applicable

Working with Date formats outside your region

Our company is global and my projects come in from a variety of regions.  Up until this point I've been pretty lucky in that the date formats i've been working with him have little endian (DD/MM/YYYY), which matches my computer's regional settings.  I've just started on a newer project, where my data source uses middle endian dates (MM/DD/YYYY). 

 

Is there a way that i can specify the date format of data within Power Query rather than having it always use my regional date format?  My current solution has been to treat the date as text and parse it into multiple columns, then re-combine myself.  It feels clunkier than it needs to be.

1 ACCEPTED SOLUTION
MarcelBeug
Community Champion
Community Champion

You can transform your text dates to real dates, using a culture code (or Locale).

 

The pictures apply to numbers, but you can apply this similarly to dates.

 

Using Locale.pngUsing Locale 2.png

Specializing in Power Query Formula Language (M)

View solution in original post

2 REPLIES 2
MarcelBeug
Community Champion
Community Champion

You can transform your text dates to real dates, using a culture code (or Locale).

 

The pictures apply to numbers, but you can apply this similarly to dates.

 

Using Locale.pngUsing Locale 2.png

Specializing in Power Query Formula Language (M)
Anonymous
Not applicable

Thanks! I don't know how i missed such an obvious option.

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.