cancel
Showing results for 
Search instead for 
Did you mean: 
Reply
tainks Frequent Visitor
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 Team
Community Support Team

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

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
October 2019 Community Highlights

October 2019 Community Highlights

October was a busy month in the community. Read the recap article to learn about some of the events and content.

New Badges

Incoming: New and Improved Badges

Exciting news: We've given our badges an overhaul and added brand news ones.

Ask Amir Anything

Exclusive LIVE Community Event No. 2 – Ask Amir Anything

Next in our Triple A series: Ask Amir Netz questions about the latest updates, features and future.

Analytics in Azure virtual event

Analytics in Azure virtual event

Experience a limitless analytics service built to ingest, prep, manage, and serve data for immediate use in Power BI.

Top Kudoed Authors
Users Online
Currently online: 321 members 3,288 guests
Please welcome our newest community members: