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
Anonymous
Not applicable

TimeZone confusion - correct on DeskTop / wrong on Service

Hi there

 

Do hope there are a smart person out there who once for all can help alot of us out.

 

There are multible strings relating to the same issue and none of the really fix the issue for me. Only a "stupid" workarround is getting the right date/time on to the canvas at the PowerBi Service in mine setup.

 

Case short :

On the canvas I have shown a DateTime of last refresh of data. (not the latest refresh of the view on PowerBi.Service)
On the PowerBI Desktop the refresh Date/Time is shown correctly.

On the PowerBI Service the refresh Date is OK but Time are -2 hours.

The only workarround I can find (to handle this "error" from Desktop to Service) are to add a new colum with a +2 hours:

Column 1 : = #table(type table[LastRefresh=datetime], {{DateTime.LocalNow()}})

Column 2 : = Table.AddColumn(Source, "Data Opdaterings Dato/Tid", each DateTime.From(DateTimeZone.FixedLocalNow()+ #duration(0,2,0,0)))

 

But this will leave me with a PowerBI Desktop version witch are "not rigth".

There must be a way for PowerBI Service to do it right without the workarround.

 

Picture below shows:

Top = PowerBI Service

Middle = PowerBI Desktop

Buttom = PowerBI Power Query.
Green = the right time. (the +2min. are do to upload time etc :-))

 

Picture to the right, show the settings on PowerBI Service.

 

Wrong timezone.jpg  Wrong timezone1.jpg

4 REPLIES 4
ibarrau
Super User
Super User

Hi. You can try converting that DateTime column in Edit Queries or Transform Data using locale. 

https://www.oraylis.de/blog/local-date-formats-in-power-bi#:~:text=Here%20comes%20the%20easy%20way,s....

That should keep it the same way.

I hope that helps 


If this post helps, then please consider Accept it as the solution to help the other members find it more quickly.

Happy to help!

LaDataWeb Blog

Anonymous
Not applicable

I've tried that as well and sadly it did not make any difference.

@Anonymous Is it a true statement that you are in a time zone (physically) that is not Central European Summer Time? From what I can tell, that is where your Power BI Service Tenant is provisioned?


@ 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!:
The Definitive Guide to Power Query (M)

DAX is easy, CALCULATE makes DAX hard...
Anonymous
Not applicable

I am located in Denmark witch are +1 hour from GMT and +7 from CST time.

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.

Top Solution Authors
Top Kudoed Authors