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
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
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.