Forum Discussion
display date/times in local timezone rather than UTC
- Anonymous5 years ago
Hi po ,
Powerbi Service now only supports utc time, if you want to display the local time, you can create a custom column in Query Editor use DateTime.LocalNow() and #duration() function.
https://docs.microsoft.com/en-us/powerquery-m/sharpduration
For example:
DateTime.LocalNow()+#duration(0,2,0,0)Best Regards,
Jay
Welcome,
Did you do it? if so please mark this thread as accepted for the rest of the community
Hi,
Had thought was working but was just using the cached version in service of the desktop version.
After refresh in service not working showing utc.
o.k. in desktop but not in service.
if use now() when time in u.k. is 9.30 a.m. service shows as 8:30 a.m. i..e utc time.
How can we ensure dynamcially that now(*) and similar finctions will alwys evaluate tp correct uk time all days of the year dynamically?
Thanks