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.
I have a Power BI report which contains a "Data refresh date/time" data source, configured like this:
= DateTimeZone.SwitchZone(DateTimeZone.FixedUtcNow(),+1)
In my Power BI Desktop file, the date/time is perfect (e.g. 12:49)
When viewing the app in Power BI Service however, it shows a different time (e.g. 11:49).
I'll add that when looking at my dataset details in Power Bi Service, the "Refreshed" time also shows 12:49.
How can I get the data in my report/app, in Power Bi Service, to show the correct time?
I've tried a few things with no success.
I'm in the UK (as are all my users)
The service works on UTC, not BST.
https://radacad.com/solving-dax-time-zone-issue-in-power-bi
Also note that "Last Refresh Date" is mostly meaningless. Imagine you have data in a SQL server database that never changes. You can refresh the dataset eight times a day, it will not do you any good.
What you really want is "Last Modified Date" inside your actual dataset.
Hi @lbendlin - I'm aware the service works on UTC rather than BST; I've struggled to find a suitbale conversion, but believe I have just successfully done so using: http://worldtimeapi.org/ and now I can see my local time displayed in Power BI Service.
Regarding Refresh date / modified date - the customer wants to know that the scheduled refresh is working (they're not interested in when each individual record was submitted).
Hi @PetyrBaelish ,
Refer to this thread:
Best Regards,
Liang
If this post helps, then please consider Accept it as the solution to help the other members find it more quickly.
Covering the world! 9:00-10:30 AM Sydney, 4:00-5:30 PM CET (Paris/Berlin), 7:00-8:30 PM Mexico City
Check out the April 2024 Power BI update to learn about new features.
User | Count |
---|---|
58 | |
20 | |
19 | |
18 | |
9 |