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 moreGet certified in Microsoft Fabric—for free! For a limited time, get a free DP-600 exam voucher to use by the end of 2024. Register now
Hello,
I know, I know. ANOTHER local time to UTC time question. Believe me, I have read through dozens of these posts and tried to understand my problem, but I am still very lost. Please forgive me for asking again, and take pity on a poor lost PowerBI-er!
I have a report with a relative date filter so that it always shows "Today's" data (or SHOULD always show "today's data"). This report pulls hourly data from a SQL server. It updates with the most current hour's data and works without issue. At least, until 8pm local time when everything goes blank due to it being midnight in UTC time and the date flips to the next day. My report needs to continue reporting data for my (local) 8pm hour and beyond.
Please be patient with me! I'd love a step-by-step explanation so I can understand what I'm doing wrong and how I can get a solution (I'll need to apply this to several other reports, too).
Thank you for any assistance you can provide!
@tackytechtomHi Tom,
Thank you for the reply!
Disappointed to hear that Microsoft themselves have indicated this is an issue without resolution. I've tried to use the RADACAD article before, but I think I must be missing some of the nuance.
Regardless, I've gone back and tried one of their approaches that I hadn't tried previously: getting date/time from a webquery (in this case, their localtimes.info suggestion).
So, I've created a new blank query from localtimes.info that returns the date, time, and timezone of my locality. I've marked the date column as my datetable. I've related it to my "main" datetable so that my data is filtered to just "today's" data. So far, so good.
But a few questions: my report isn't querying the web service at regular intervals, right? It's not a directconnect connection, so it will only return the date/time whenever I manually refresh it, right? So, what will happen at 8pm tonight (when my local time corresponds to midnight UTC time)?
As expected, at 8pm all of my data went blank once again. Yet another dead end.
Hi @bigchippah,
According to Microsoft, this is a known limitation:
Use a relative date slicer or filter in Power BI - Power BI | Microsoft Docs
In this blogpost you can find some possible workarounds. Also, I think they are well explained:
Relative Date Slicer for Your Local Time Zone in Power BI - RADACAD
Hope this helps! 🙂
/Tom
https://www.tackytech.blog/
https://www.instagram.com/tackytechtom/
Did I answer your question❓➡️ Please, mark my post as a solution ✔️ |
Also happily accepting Kudos 🙂 |
Feel free to connect with me on LinkedIn! |
#proudtobeasuperuser |
@tackytechtom I feel like I'm missing something because I keep reading articles that I don't understand and that don't seem to have any answers.
I do not understand how the following things relate to each other: creating a DAX solution with a -4 time offset (UTC to EST) and using this to prevent my report's date changing at 8pm. Why is it so hard to tell the Power BI service: do not change my report's date until 4 hours after UTC midnight?
Please help!
Starting December 3, join live sessions with database experts and the Fabric product team to learn just how easy it is to get started.
March 31 - April 2, 2025, in Las Vegas, Nevada. Use code MSCUST for a $150 discount! Early Bird pricing ends December 9th.
User | Count |
---|---|
90 | |
87 | |
84 | |
68 | |
49 |
User | Count |
---|---|
131 | |
111 | |
96 | |
71 | |
67 |