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
tainks
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
v-lili6-msft
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
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
Top Kudoed Authors