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
TechR21
Helper V
Helper V

Date differences when loading local csv file and sharepoint csv file

Hi,

 

When I load files from my local directory into powerbi i have the following correct dates (the date - month is a an added column in powerbi) :

TechR21_0-1691049805023.png

 

When I put those same files in a sharepoint folder and load them into powerbi I see the following:

TechR21_1-1691049864381.png

 

For some reason he makes January from those dates.

 

I already try to changed the format with: 

 

= Table.TransformColumnTypes(#"Custom1", {{"date", type date}}, "en-US")

 

But this doesnt seem to work. How can I get the correct dates/months?

1 REPLY 1
vicky_
Super User
Super User

It might just be that Power Query is loading different sections of the csv but it's the same data underneath. Have you tried sorting the column by date, or even loading into PowerBI to compare the differences?

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.