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
cdn4lf
Frequent Visitor

Time zone being converted to local instead of UTC

Hi All,

 

I have a series of json files that I am importing into PowerBi which correctly display the UTC date information, however when the data is being imported into Desktop, it appears that it is being read as the local time instead of the UTC time.

 

Can anyone suggest a way that doesn't involve DAX to correct this?  I already have a DAX solution but am trying to remove the need to duplicate each date/time column to adjust for this problem.

 

Thank you!

6 REPLIES 6
v-gizhi-msft
Community Support
Community Support

Hi,

 

Please try UTCNOW or UTCTODAY function.

 

Best Regards,

Giotto Zhi

Pragati11
Super User
Super User

Hi @cdn4lf ,

 

Can you refer following thread for this please:

https://community.powerbi.com/t5/Desktop/Relative-Date-in-Local-time-not-UTC/td-p/617405

 

If this helps please give Kudos and mark this as a Solution! 🙂

 

Thanks,

Pragati

Best Regards,

Pragati Jain


MVP logo


LinkedIn | Twitter | Blog YouTube 

Did I answer your question? Mark my post as a solution! This will help others on the forum!

Appreciate your Kudos!!

Proud to be a Super User!!

@Pragati11 

 

This isn't a relative date issue.  The data coming in is formatted at UTC "StartDate":"2020-09-21T22:15:00","EndDate":"2020-12-14T23:45:00", and there is no time zone information listed.

 

I already have the following dax code in use, however the goal is to not need it.

DateTimeZone.RemoveZone([EndDate])+ #duration(0,DateTimeZone.ZoneHours([EndDate]),0,0)

 

Hi @cdn4lf ,

 

Have you tried using the following in Edit Query: (right click on your Date column)

 

date1.png

 

If this helps please give Kudos and mark it as a Solution! 🙂

 

Thanks,

Pragati

Best Regards,

Pragati Jain


MVP logo


LinkedIn | Twitter | Blog YouTube 

Did I answer your question? Mark my post as a solution! This will help others on the forum!

Appreciate your Kudos!!

Proud to be a Super User!!

@Pragati11 

 

Yes, that was the first thing I did.  It pulls it as local time instead of UTC.

Hi @cdn4lf ,

 

Can you try the following once, if it resolves your issue: (This allows us to set our date time in multiple zones)

 

date2.png

 

There is a similar thread for this:

https://community.powerbi.com/t5/Desktop/How-to-keep-source-datetime/td-p/698674

 

If this helps please give Kudos and mark it as a Solution! 🙂

 

Thanks,

Pragati

Best Regards,

Pragati Jain


MVP logo


LinkedIn | Twitter | Blog YouTube 

Did I answer your question? Mark my post as a solution! This will help others on the forum!

Appreciate your Kudos!!

Proud to be a Super User!!

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