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.
Good Morning,
I currently use a Web API to capture the date and time of the Last Refresh. In Power BI Service, I have been updating a few times per day.
We are now upgrading just a few pages of this multi-page Report to Direct Query to take advantage of the Automatic Page Refresh option so we can refresh just these few pages every five minutes. Does anyone know how I would create a tile to capture and update this tile with the latest Refresh Time?
Thanks and Kind Regards,
Solved! Go to Solution.
Hey @rsbin ,
when you use DirectQuery the values are updated whenever you interact with the report or when you trigger a refresh.
This means you can just use a Measure to show NOW or UTCNOW as last refresh date:
Last Refresh = NOW()
Hey @rsbin ,
when you use DirectQuery the values are updated whenever you interact with the report or when you trigger a refresh.
This means you can just use a Measure to show NOW or UTCNOW as last refresh date:
Last Refresh = NOW()
Hi @selimovd,
Thank you for the quick response. Just need a clarification though. When i use Now() on my desktop, it gives me Eastern Time. Once I publish on the Service will the result of this Measure be in UTC time?
Thanks again!
Hey @rsbin ,
NOW is always using the local time, so on your PBI Desktop your computer time. As far as I remember Power BI Service changed once to always use UTC time, but you should verify that.
The best way is either to use UTCNOW() and say it's UTC time or if you want a specific local time, then add or subtract the hours. For example:
Last Refresh = UTCNOW() + TIME ( 1, 00, 00 )
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 |
---|---|
110 | |
94 | |
82 | |
66 | |
58 |
User | Count |
---|---|
151 | |
121 | |
104 | |
87 | |
67 |