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

Get Fabric Certified for FREE during Fabric Data Days. Don't miss your chance! Request now

Reply
beakon
Frequent Visitor

Time Zone Issue

Hi Guys,

 

I have been having an issue with my Power BI report for a few days and I can't seem to find a proper solution for it.

 

Our data is coming from a mysql database where the dates are stored using UTC time zone, but in our web application most users use Sydney as a time zone (UTC+11). I know I can create a new date/time field and simply add 11 hours to the one that's coming directly from the database, but in that case I would have to replace the old one in all of the filters, charts, graphs and cards in the report (more than 50). Is there a way to modify the existing field so capture the date/time using UTC+11 time zone.

 

Thanks and have a great day!

1 ACCEPTED SOLUTION


@beakon wrote:

It seems that my power BI client already thinks these dates are in Sydney time and therefore when I apply the DateTime.AddZone formula I cannot add more hours on top. I tried changing my computer's timezone and that seems to have fixed the issue. Is  that what I should be doing?


Changing your computer's timezone should not be necessary. You could be hitting a similar issue to the one I hit here http://darren.gosbell.com/archive/2019/02/01/power-bi-ndash-fixing-dates-from-sharepoint-lists-conve...where Sharepoint was returning UTC times, but Power BI was not recognizing them as such. The fix was to change the data type to Date/Time/Timezone first then the DateTime.AddZone might start working

View solution in original post

5 REPLIES 5
v-frfei-msft
Community Support
Community Support

Hi @beakon ,

 

You can refer to the online document about  DateTime.AddZone function to achieve your requirement.

 

Regards,

Frank

Community Support Team _ Frank
If this post helps, then please consider Accept it as the solution to help the others find it more quickly.

Hi @beakon ,

 

Does that make sense? If so, kindly mark my answer as the solution to close the case please. Thanks in advance.

 

Regards,
Frank

Community Support Team _ Frank
If this post helps, then please consider Accept it as the solution to help the others find it more quickly.

It seems that my power BI client already thinks these dates are in Sydney time and therefore when I apply the DateTime.AddZone formula I cannot add more hours on top. I tried changing my computer's timezone and that seems to have fixed the issue. Is  that what I should be doing?


@beakon wrote:

It seems that my power BI client already thinks these dates are in Sydney time and therefore when I apply the DateTime.AddZone formula I cannot add more hours on top. I tried changing my computer's timezone and that seems to have fixed the issue. Is  that what I should be doing?


Changing your computer's timezone should not be necessary. You could be hitting a similar issue to the one I hit here http://darren.gosbell.com/archive/2019/02/01/power-bi-ndash-fixing-dates-from-sharepoint-lists-conve...where Sharepoint was returning UTC times, but Power BI was not recognizing them as such. The fix was to change the data type to Date/Time/Timezone first then the DateTime.AddZone might start working

d_gosbell
Super User
Super User

If you have access to edit the query used to populate the data model the following process should work:

 

1. Add a new column using DateTime.ToLocal( [<OldColumnName>] )

2. Delete the <OldColumnName> column

3. Rename the column created in step one to have the same name as your original column

 

 

Helpful resources

Announcements
November Power BI Update Carousel

Power BI Monthly Update - November 2025

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

Fabric Data Days Carousel

Fabric Data Days

Advance your Data & AI career with 50 days of live learning, contests, hands-on challenges, study groups & certifications and more!

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