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

Time difference between Desktop and service

I created a card visual that would show the date and time of the last refresh using this code.

 For the Table:

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

 For the measure:

Last Refreshed (Local) = LASTDATE('refresh'[LastRefresh])
 
now when I refresh on the Desktop and publish. it reads the time correctly. but when the PowerBi service scheduled refresh runs, the time shows one hour less than the local time. For example, if I have a scheduled refresh for 10am, by the time the power bi service refreshes successfully and I check the dashboard, it shows refresh time as 9am.
how do I rectify this?
NB: the gateway is installed on my local computer.
1 ACCEPTED SOLUTION
v-shex-msft
Community Support
Community Support

HI @Anonymous,

Power bi service does not support display with specific date timezone values, it will conver these datetiem feilds to UTC format.

For this scenario, you can add a calculated column to manually add timezone offset to show the specific date timezone value on the power bi service side.
Regards,

Xiaoxin Sheng

Community Support Team _ Xiaoxin
If this post helps, please consider accept as solution to help other members find it more quickly.

View solution in original post

2 REPLIES 2
v-shex-msft
Community Support
Community Support

HI @Anonymous,

Power bi service does not support display with specific date timezone values, it will conver these datetiem feilds to UTC format.

For this scenario, you can add a calculated column to manually add timezone offset to show the specific date timezone value on the power bi service side.
Regards,

Xiaoxin Sheng

Community Support Team _ Xiaoxin
If this post helps, please consider accept as solution to help other members find it more quickly.
amikm
Helper V
Helper V

HI @Anonymous,

Please check this post from Reza Rad, it might solve your issue
http://www.radacad.com/solving-dax-time-zone-issue-in-power-bi

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