cancel
Showing results for 
Search instead for 
Did you mean: 
Reply
Beginner_2020
Helper V
Helper V

Sharepoint UTC to Local time

Hi Power BI Community,

we have data from all around the world in sharepoint UTC.   It is very important to have the right time to analyze the performance -> local time I guess

I tried to transform UTC to local time but something is off....

= DateTimeZone.RemoveZone(DateTimeZone.ToLocal(DateTime.AddZone([Timezone UTC],0)))

And do I really need to convert every time from UTC to local time or is there a workaround?

1 ACCEPTED SOLUTION
lbendlin
Super User III
Super User III

Technically you don't need to convert anything - The Power BI web page is supposed to sense the user's timezone and do the conversion for you.

 

https://radacad.com/solving-dax-time-zone-issue-in-power-bi

View solution in original post

2 REPLIES 2
lbendlin
Super User III
Super User III

Technically you don't need to convert anything - The Power BI web page is supposed to sense the user's timezone and do the conversion for you.

 

https://radacad.com/solving-dax-time-zone-issue-in-power-bi

View solution in original post

I'm doing the same thing - pulled data from SP, converted column to date/time/timezone and they are being displayed in UTC time in Power BI desktop and Power BI service.  

Helpful resources

Announcements
MBAS on Demand

2021 Release Wave 2 Plan

Power Platform release plan for the 2021 release wave 2 describes all new features releasing from October 2021 through March 2022.

July 2021 Update 768x460.png

Check it out!

Click here to read more about the July 2021 Updates

Power Query PA Forum 768x460.png

Check it out!

Did you know that you can visit the Power Query Forum in Power BI and now Power Apps

Top Solution Authors
Top Kudoed Authors