Forum Discussion
[PBI Premium] Last Successful Refresh Data
Anonymous If you are viewing the report in the Service, then the new look automatically places the "Data updated <date>" on the top of the report. As far as historically pulling that, there could be options but it would require pulling that via API or O365 metrics (check to see if available) and adding it to your dataset. If it is just the date, you can also add a measure in your report to pull the latest refresh by capturing current date/time in PQ and showing in report.
- Anonymous6 years agoNot applicable
Hi Anonymous
Thanks for the reply and apologies for my late one! I'd not noticed the last refresh date whilst browsing in the service so great to see that, however, the product that I'm displaying is actually published to web and therefore doesn't have the drop down section.
I can think of a quick and dirty way to do it but would prefer if PBI had something built in I could use.
Cheers!
- Anonymous6 years agoNot applicable
Anonymous Unfortunetely all embedded reports don't have the last refresh. I just had to build this into one of my reports in a static fashion. What I mean by that is I know the timezone of the individuals consuming it EST, so I created a query to capture the current date and time.
let Source = #table(type table[LastRefresh=datetime], {{DateTime.LocalNow()}}) in Sourceand used a measure to change the UTC time (When you deploy to the Service it will always be in UTC) to the correct time zone.
Last Refreshed (EST) = MAX(LastRefresh[LastRefresh]) - 4/24
and placed the measure in a card on my report pages.