Join us at FabCon Atlanta from March 16 - 20, 2026, for the ultimate Fabric, Power BI, AI and SQL community-led event. Save $200 with code FABCOMM.
Register now!Calling all Data Engineers! Fabric Data Engineer (Exam DP-700) live sessions are back! Starting October 16th. Sign up.
This is a bit odd?
So in desktop when designing the report, in Power query, I created a last refreshed date table by using -
= DateTimeZone.SwitchZone(DateTimeZone.UtcNow(),-4)
Which works exactly as expected both locally and when published to service in the Test workspace. When I deploy this to the production workspace using the deployment pipeline, things act in a strange manner and the time shows UTC instead of the -4 hours offset which is Eastern Time. I have double, triple checked that I deployed the correct report and semantic model.
Any ideas as to what is going on?
Solved! Go to Solution.
Hello @pborah,
Although Power BI generally uses UTC for service operations, differences in regional settings between workspaces could lead to this behavior.
Can you please try this approach:
LastRefreshedDate =
DateTimeZone.RemoveZone(DateTimeZone.ToLocal(DateTimeZone.UtcNow()))
Hope this helps.
Hi @pborah
Did Sahir_Maharaj 's method solve your problem? If yes, could you please mark it as a solution? This will be of great help to other users experiencing similar problems. Thank you!
If you have any further questions, please feel free to contact me.
Best Regards,
Yulia Xu
Hello @pborah,
Although Power BI generally uses UTC for service operations, differences in regional settings between workspaces could lead to this behavior.
Can you please try this approach:
LastRefreshedDate =
DateTimeZone.RemoveZone(DateTimeZone.ToLocal(DateTimeZone.UtcNow()))
Hope this helps.
Join the Fabric FabCon Global Hackathon—running virtually through Nov 3. Open to all skill levels. $10,000 in prizes!
Check out the October 2025 Power BI update to learn about new features.