cancel
Showing results for 
Search instead for 
Did you mean: 
Reply
Highlighted
ColinD Frequent Visitor
Frequent 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

Accepted Solutions
ColinD Frequent Visitor
Frequent Visitor

Re: Data transformation question

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

3 REPLIES 3
Vvelarde Super Contributor
Super Contributor

Re: Data transformation question

@ColinD

 

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

 

 




Lima - Peru
Did I answer your question? Mark my post as a solution!

Proud to be a Datanaut!




v-ljerr-msft Super Contributor
Super Contributor

Re: Data transformation question

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

ColinD Frequent Visitor
Frequent Visitor

Re: Data transformation question

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

Helpful resources

Announcements
Back to School Contest

Back to School Contest

Engage and empower students with Power BI!

MBAS Gallery

Watch Sessions On Demand!

Continue your learning in our online communities.

Summit Australia 2019

Summit Australia 2019

Travel to Melbourne and network with thousands of peers!

PBI Community Highlights

PBI Community Highlights

Check out what's new in the Power BI Community!

Top Ideas
Users Online
Currently online: 100 members 1,524 guests
Please welcome our newest community members: