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

Get Fabric Certified for FREE during Fabric Data Days. Don't miss your chance! Request now

Reply
PBI_newuser
Post Prodigy
Post Prodigy

Wrong date import from excel file

Hi,

 

The date import from excel is incorrect.

For example, the dates highlighted in yellow has reverse date and month.

Those date from 1 to 12 will become the month instead of the date.

 

Eg: 12/10/2020 shown below is actually 10/12/2020 (12th October 2020).


How to correct this date?

 

PBI_newuser_0-1604500720825.png

 

 

1 ACCEPTED SOLUTION
Anonymous
Not applicable

5 REPLIES 5
PhilipTreacy
Super User
Super User

Hi @PBI_newuser 

The source file you provided has dates in dd/mm/yyyy format.  I don't know what you are doing once you get the dates into PBI but if you just select the columns and then right click the column header then Change type -> Using Locale 

change-using-locale.png

 

then choose Date and English (United States)

change-using-locale2.png

They should convert properly to your locale.

Phil


If I answered your question please mark my post as the solution.
If my answer helped solve your problem, give it a kudos by clicking on the Thumbs Up.



Did I answer your question? Then please mark my post as the solution.
If I helped you, click on the Thumbs Up to give Kudos.


Blog :: YouTube Channel :: Connect on Linkedin


Proud to be a Super User!


Anonymous
Not applicable

@PBI_newuser - you had similar issue previously and I think this was resolved here- https://community.powerbi.com/t5/Desktop/Inconsistent-Date-Format-in-excel-file/m-p/1447247#M607073

PBI_newuser
Post Prodigy
Post Prodigy

Hi @amitchandak @AlB ,

 

This is the sample data: https://we.tl/t-HgwZE11QGP

You can see the highlighted date is November dates, but after importing to Power BI, it became 11th of the month.

PBI_newuser_0-1604502685918.png

 

amitchandak
Super User
Super User

@PBI_newuser , do you date in two formats? or you have the UK setting in the system and the date are coming is US format ?

Share with Power BI Enthusiasts: Full Power BI Video (20 Hours) YouTube
Microsoft Fabric Series 60+ Videos YouTube
Microsoft Fabric Hindi End to End YouTube
AlB
Community Champion
Community Champion

Hi @PBI_newuser 

A) Is what you show in the pic how the data is shown in Excel (looks like it, since it's text)

B) In what format are the dates you are importing from the Excel? It seems Month/Day/Year (you have 10/19/2020 for instance)

C) In what format do you want the output dates?

All this probably has to do with the regional settings in your pbix (File->Options and Settings->Options->Current File->Regional Settings)  and/or you machine locale

 

Please mark the question solved when done and consider giving a thumbs up if posts are helpful.

Contact me privately for support with any larger-scale BI needs, tutoring, etc.

Cheers 

SU18_powerbi_badge

Helpful resources

Announcements
Fabric Data Days Carousel

Fabric Data Days

Advance your Data & AI career with 50 days of live learning, contests, hands-on challenges, study groups & certifications and more!

October Power BI Update Carousel

Power BI Monthly Update - October 2025

Check out the October 2025 Power BI update to learn about new features.

FabCon Atlanta 2026 carousel

FabCon Atlanta 2026

Join us at FabCon Atlanta, March 16-20, for the ultimate Fabric, Power BI, AI and SQL community-led event. Save $200 with code FABCOMM.

Top Solution Authors