Starting December 3, join live sessions with database experts and the Microsoft product team to learn just how easy it is to get started
Learn moreShape the future of the Fabric Community! Your insights matter. That’s why we created a quick survey to learn about your experience finding answers to technical questions. Take survey.
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!
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)))
Do you have to worry about Daylight Savings where you are?
Your insights matter. That’s why we created a quick survey to learn about your experience finding answers to technical questions.
User | Count |
---|---|
34 | |
31 | |
21 | |
11 | |
8 |
User | Count |
---|---|
52 | |
40 | |
29 | |
13 | |
12 |