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

The Power BI Data Visualization World Championships is back! Get ahead of the game and start preparing now! Learn more

Reply
megha1311
Regular Visitor

Date data anomaly fetching from sharepoint

Hi All,

 

So one of the requirements from the client was to fetch data from the share point and find the duration of a certain event.

 

The problem arises when the data which was untouched and freshly imported to powerquery, for the date/time column  there is an offset of 4 hours backward in from the actual date and time in sharepoint
I used excel's powerquery and verified the same result.


I searched online and other sources for the reason and even tried to change the locale and timezone with the date/time data. But the results are not the same as SharePoint.

If any of you had a similar experience please share how you tackled the issue.

 

Thanks in advance.

Atma.

1 REPLY 1
mahoneypat
Microsoft Employee
Microsoft Employee

The dates you are pulling from SharePoint will be UTC. You can add/subtract hours to add the appropriate offset, using #duration(0,-5,0,0) for example. If applicable, please also see this video.

(9) An easy way to handle Daylight Savings Time in Power Query - YouTube

 

Pat





Did I answer your question? Mark my post as a solution! Kudos are also appreciated!

To learn more about Power BI, follow me on Twitter or subscribe on YouTube.


@mahoneypa HoosierBI on YouTube


Helpful resources

Announcements
Power BI DataViz World Championships

Power BI Dataviz World Championships

The Power BI Data Visualization World Championships is back! Get ahead of the game and start preparing now!

December 2025 Power BI Update Carousel

Power BI Monthly Update - December 2025

Check out the December 2025 Power BI Holiday Recap!

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