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

Earn the coveted Fabric Analytics Engineer certification. 100% off your exam for a limited time only!

Reply
ColinD
Regular Visitor

Data transformation question

Hello Everyone,

 

I'm tring to load an Excel workboook and all columns except one loads with no problem. The last 2 columns both have the same custome Excel format "m/d/yyyy h:mm:ss AM/PM". Power BI automatically recognises the 1st of these columns as a date/time data type and transforms OK. The 2nd column gets an error for any date that is greater than the 12th of the month. It's as though Power BI is looking at this data in dd/mm/yyyy format even though the Excel format is the same as the 1st column.

 

Changing the locale makes no difference

 

Any ideas what is going on?

1 ACCEPTED SOLUTION

I've tried it again today and I was incorrect when I said the 1st date/time column transformed OK. It didn't transform any date where the day was greater than 12 (those dates were 500+ rows down the file)

 

My locale was set to English (United Kingdom) as is the OS. When I change Power BI locale to English(United States) the data transforms correctly - and displays in DD/MM/YY format.

 

 This post can be considered resolved. It seems my locale setting that caused the bad transformation

View solution in original post

3 REPLIES 3
v-ljerr-msft
Employee
Employee

Hi @ColinD,

 

According to your descriptions above, I have tested it on my environment, but I cannot reproduce the issue.

 

Could you post some sample data which can reproduce the issue as suggested by Vvelarde?Smiley Happy

 

Regards

I've tried it again today and I was incorrect when I said the 1st date/time column transformed OK. It didn't transform any date where the day was greater than 12 (those dates were 500+ rows down the file)

 

My locale was set to English (United Kingdom) as is the OS. When I change Power BI locale to English(United States) the data transforms correctly - and displays in DD/MM/YY format.

 

 This post can be considered resolved. It seems my locale setting that caused the bad transformation

Vvelarde
Community Champion
Community Champion

@ColinD

 

Hi, to made a effective help please share sample data.

 

 




Lima - Peru

Helpful resources

Announcements
April AMA free

Microsoft Fabric AMA Livestream

Join us Tuesday, April 09, 9:00 – 10:00 AM PST for a live, expert-led Q&A session on all things Microsoft Fabric!

March Fabric Community Update

Fabric Community Update - March 2024

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