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

Grow your Fabric skills and prepare for the DP-600 certification exam by completing the latest Microsoft Fabric challenge.

Reply
rpinxt
Impactful Individual
Impactful Individual

Dates EUR / US problem

Of course you could change the source or ask people to change the source.

But if not possible how would you fix this in Power Query :

rpinxt_0-1715781368124.png

This is a European date meaning 2nd of Jan.

 

Now when I import this source in power query it makes :

rpinxt_1-1715781430982.png

So Feb 1st which is not correct. My local setting is US and must remain that way.

 

Besides that it now gives me wrong dates it also gives error with these lines:

rpinxt_2-1715781512167.png

It expects months first but of course there is no month 15.

 

Is there a way to tell power bi that this date column is in dd/mm/yyyy format and must convert it first to mm/dd/yyyy before I can set the Date type on that column?

 

 

1 ACCEPTED SOLUTION

That depends on the type of sources you have. Some of them have optimal parameters that you can set to select a certain culture or locale.
Also, check out https://learn.microsoft.com/en-us/powerquery-m/table-transformcolumntypes

View solution in original post

4 REPLIES 4
rpinxt
Impactful Individual
Impactful Individual

Ok thanks @sjoerdvn , but then all import contained in the report will be set as european?

What if you have one source containing US dates and another EU?

That depends on the type of sources you have. Some of them have optimal parameters that you can set to select a certain culture or locale.
Also, check out https://learn.microsoft.com/en-us/powerquery-m/table-transformcolumntypes

rpinxt
Impactful Individual
Impactful Individual

Ok thanks @sjoerdvn I will have a look.

sjoerdvn
Super User
Super User

Go to options and settings -> options -> Under "Current File" select "Regional Settings" and choose any european "Locale for Import".

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.

RTI Forums Carousel3

New forum boards available in Real-Time Intelligence.

Ask questions in Eventhouse and KQL, Eventstream, and Reflex.

MayPowerBICarousel1

Power BI Monthly Update - May 2024

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