Skip to main content
cancel
Showing results for 
Search instead for 
Did you mean: 

Join us for an expert-led overview of the tools and concepts you'll need to become a Certified Power BI Data Analyst and pass exam PL-300. Register now.

Reply
kayleeholt
New Member

Dashboard flipping to next day at UTC not Midnight CST.

Hello,

 

We are having an issue where at 7pm during our refresh the dashboard is flipping to the next day (using UTC). We have updated all our formulas to convert the timezone to CST using the following: = DateTime.Date(DateTimeZone.RemoveZone(DateTimeZone.ToLocal(DateTimeZone.UtcNow()))). The time even displays correct when published. 

How do we prevent this from happening? So it flips to the next day at 12:00am CST...

 

Thanks in advance!

2 REPLIES 2
GilbertQ
Super User
Super User

Hi @kayleeholt 

 

Just a quick note is that all the Power BI Servers world wide are configured in the UTC timezone.

 

What I have done in the past is to rather hard code the additional time by adding the following to your code. In my example below I am adding 10 hours.

 

DateTime.Date(DateTimeZone.ToLocal(DateTimeZone.UtcNow() + #duration(0,10,0,0)))

  





Did I answer your question? Mark my post as a solution!

Proud to be a Super User!







Power BI Blog

Do you have to worry about Daylight Savings where you are?

Helpful resources

Announcements
July PBI25 Carousel

Power BI Monthly Update - July 2025

Check out the July 2025 Power BI update to learn about new features.

Join our Fabric User Panel

Join our Fabric User Panel

This is your chance to engage directly with the engineering team behind Fabric and Power BI. Share your experiences and shape the future.

June 2025 community update carousel

Fabric Community Update - June 2025

Find out what's new and trending in the Fabric community.