cancel
Showing results for 
Search instead for 
Did you mean: 
Reply
marmaghan
Frequent Visitor

Importing different Date type files in power query

Hi ,

 

I am importing 3 files from folder in power query 2 files contains date in form dd/mm/yyyy which works fine but the 3rd column date type is dd-mm-yyyy power query is not understanding this type and creating errors my system settings also on dd/mm/yyyy format please guide me to resolve this issue.

 

Thanks

1 ACCEPTED SOLUTION
Greg_Deckler
Super User
Super User

So you are using a folder query then? If so, use the 3rd file as your sample and do a replace of "-" with "/" and then force to date/time type.


@ me in replies or I'll lose your thread!!!
Check out my External Tool for Power BI Desktop! Microsoft Hates Greg's Quick Measures
YouTube Channel! Microsoft Hates Greg
Check out my latest book!

View solution in original post

2 REPLIES 2
Greg_Deckler
Super User
Super User

So you are using a folder query then? If so, use the 3rd file as your sample and do a replace of "-" with "/" and then force to date/time type.


@ me in replies or I'll lose your thread!!!
Check out my External Tool for Power BI Desktop! Microsoft Hates Greg's Quick Measures
YouTube Channel! Microsoft Hates Greg
Check out my latest book!

View solution in original post

Thanks for the suggestion it works fine now.

Helpful resources

Announcements
UG GA Amplification 768x460.png

Launching new user group features

Learn how to create your own user groups today!

November Power BI Update 768x460.png

Check it Out!

Click here to read more about the November 2021 Updates!

M365 768x460.jpg

Microsoft 365 Collaboration Conference | December 7–9, 2021

Join us, in-person, December 7–9 in Las Vegas, for the largest gathering of the Microsoft community in the world.