Microsoft Fabric Community Conference 2025, March 31 - April 2, Las Vegas, Nevada. Use code FABINSIDER for a $400 discount.
Register nowGet inspired! Check out the entries from the Power BI DataViz World Championships preliminary rounds and give kudos to your favorites. View the vizzies.
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 )
March 31 - April 2, 2025, in Las Vegas, Nevada. Use code MSCUST for a $150 discount!
Check out the February 2025 Power BI update to learn about new features.