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
Anonymous
Not applicable

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
Super User

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
Super User

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

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
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.