cancel
Showing results for 
Search instead for 
Did you mean: 
Reply
Frequent Visitor

Changing utc time to lcoal timezone works on desktop but not on power bi pro

Hi, 

I'm trying to change datetimes to local timezone accross both PowerBI pro and desktop.

 

Our database stores datetime in utc. In PBI desktop,  I have changed it to our local timezone,Utc + 8 using DateTimeZone.SwitchZone in PowerQuery.

 

The resulting DAX formulas work in desktop, but when I publish the report to Power BI Pro, it reads UTC time instead. 

Reading other threads in this forum, I realized that there's no way for  PBI Pro/Service's time intelligence DAX functions such as DATESMTD()  to read in local timezone. Is there any way around this? It'll be nice to get an accurate report. 

 

Thanks!

 

 

1 REPLY 1
Community Support
Community Support

hi, @tainks 

Please have a look at this blog to check if it could help you:

https://radacad.com/solving-dax-time-zone-issue-in-power-bi

 

Best Regards,

Lin

 

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

Helpful resources

Announcements
secondImage

Happy New Year from Power BI

This is a must watch for a message from Power BI!

December Update

Check it Out!

Click here to read more about the December 2020 Updates!

Community Blog

Check it Out!

Click here to read the latest blog and learn more about contributing to the Power BI blog!

Get Ready for Power BI Dev Camp

Get Ready for Power BI Dev Camp

Mark your calendars and join us for our next Power BI Dev Camp!.

Top Solution Authors