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

To celebrate FabCon Vienna, we are offering 50% off select exams. Ends October 3rd. Request your discount now.

Reply
Coryanthony
Helper III
Helper III

Time zone conversion (please help)

Hello, I am looking to convert Central Time zone to Jamaica (GMT-5) time zone. 

Jamaica time does not observe day light savings. During winter, it is Eastern Time zone, during summer it is Central time zone.

Please help.

 

Coryanthony_0-1681813553905.png

 

10 REPLIES 10
Greg_Deckler
Community Champion
Community Champion

@Coryanthony OK, so a different take on this. You could do this in DAX. To add/subtract hours in DAX goes like this:

[DateTime Column] + ( 5 * 1/24).

That will add 5 hours for example. Note that this works because Dates and Times in DAX are a decimal number where the integer portion is the number of days since 12/30/1899 and the decimal portion is fractions of a day.

 

OK, on to the bigger issue, when to apply the +/- different amoutn of hours. The most exact way would be to have a table that stored exactly when daylight savings time began and ended. 

Year, DST Start, DST End

2023, 3/12/2023, 11/5/2023

 

If you just need it to be "close" a more automated method might be to use my equinox calculations here:

Equinoxes and Solstices - Microsoft Power BI Community



Follow on LinkedIn
@ me in replies or I'll lose your thread!!!
Instead of a Kudo, please vote for this idea
Become an expert!: Enterprise DNA
External Tools: MSHGQM
YouTube Channel!: Microsoft Hates Greg
Latest book!:
DAX For Humans

DAX is easy, CALCULATE makes DAX hard...
Bmejia
Super User
Super User

Add a custom Column, Where 5 is the difference in Hours
[Time]+#duration(0,5,0,0)

Solved: How to add hours to DateTime data? - Microsoft Power BI Community

@Bmejia 

will this account for day light savings? Data is currently in Central time zone, while Jamaica is 1+ hr ahead during winter and same time during summer.

Thank you for the response.

I don't believe it will, cause you adding the hour or time manually . The only way that it would probably work is if you had a date and time, you could use this, then extract the time.

 

0 is the time zone you want to changed to.
=DateTime.AddZone([MyDateColumn],0)

Thank you @Bmejia 

i can go back a few steps. So if i have date and time together, i can create a new column using =DateTime.AddZone([MyDateColumn],0) ?

 

Coryanthony_0-1681844381094.png

 

Yes, so create a new custom column in power query enter the code below, change the value zero to whatever time zone you wanted to be. Then extract the time.

will this account for day light savings? Data is currently in Central time zone, while Jamaica is 1+ hr ahead during winter and same time during summer.

Thank you for the response.

thx
Frequent Visitor

I have a similar question.

Any one knows of a possible solution? Help!!!

Idrissshatila
Super User
Super User

Hello @Coryanthony 

 

check this link https://youtu.be/eH9dHfNG8kg

 

If I answered your question, please mark my post as solution so it would appeare to others, Appreciate your Kudos 👍

Follow me on Linkedin



Did I answer your question? Mark my post as a solution! Appreciate your Kudos
Follow me on LinkedIn linkedIn
Vote for my Community Mobile App Idea

Proud to be a Super User!




Thank you @Idrissshatila ,

I watched the video and subscribed but was still unable to figure it out. 

Helpful resources

Announcements
September Power BI Update Carousel

Power BI Monthly Update - September 2025

Check out the September 2025 Power BI update to learn about new features.

August 2025 community update carousel

Fabric Community Update - August 2025

Find out what's new and trending in the Fabric community.

Top Solution Authors
Top Kudoed Authors