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

Score big with last-minute savings on the final tickets to FabCon Vienna. Secure your discount

Reply
wpf_
Post Prodigy
Post Prodigy

How to fix imported date/time that was converted UTC

I have a directquery connected to dynamics365 using the sql server connector.  I noticed that the date/times are different then what is in the data source.  They seem to be adjusted to UTC time when imported to BI.  Is there a way to disable the conversion?  If it is not possible to convert, then what can I do to convert it back to my local time here and accounting for day light savings time?  I am on EST time.  Thanks

3 REPLIES 3
Stachu
Community Champion
Community Champion

are you connected to a view or do you also do some transformations in M?
I'm not sure on the impact on the DirectQuery, but I had a case when converting in M to datetimezone type first, and after that converting to date in a separate step gave me correct value

if it doesn't break the DirectQuery, then maybe one of these functions can help (e.g. DateTimeZone.FixedLocalNow)



Did I answer your question? Mark my post as a solution!
Thank you for the kudos 🙂

@Stachu 

 

So i would need to create a new column in power query utilizing the function DateTimeZone?  does it account for day light savings time?  I will look into this. Thanks 

Stachu
Community Champion
Community Champion

in my case I added 2 separate steps changing type, one changing to type datetimezone, then added another step that changed the type again, this time to date

using functions can also work with added column, but I'm not sure how it affects the DirectQuery connection



Did I answer your question? Mark my post as a solution!
Thank you for the kudos 🙂

Helpful resources

Announcements
August Power BI Update Carousel

Power BI Monthly Update - August 2025

Check out the August 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