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
eWise
Advocate I
Advocate I

Power BI converts my datetime column from UTC to my local timezone

Hi, 

I get my data from CosmosDB where datetime is stored in UTC. The datetime column is imported into PowerBi in the format 2018-06-25T15:00:54Z but when I change the data type to date time so as to perform calculations, it gets changed into my local time zone which is EST. The date above changes to 6/25/2018 11:00:54 AM. Is there a way I can change the data type while still maintaning the UTC time. 

 

Thanks for the help.

1 ACCEPTED SOLUTION
negi007
Community Champion
Community Champion

@eWise 

in powerquery window you can change the datatype like below (Date/Time/Timezone)

 

negi007_0-1619161071532.png

 




Did I answer your question? Mark my post as a solution!
Appreciate your Kudos



Proud to be a Super User!


Follow me on linkedin

View solution in original post

2 REPLIES 2
eWise
Advocate I
Advocate I

Thanks @negi007. That is what I was looking for.

negi007
Community Champion
Community Champion

@eWise 

in powerquery window you can change the datatype like below (Date/Time/Timezone)

 

negi007_0-1619161071532.png

 




Did I answer your question? Mark my post as a solution!
Appreciate your Kudos



Proud to be a Super User!


Follow me on linkedin

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.