Forum Discussion
Display Last Dataset Refresh On Report
- 6 years ago
For a SQL data refresh it will be stored in the logs
ReportAction 19 is Data Refresh, so something like:
select max(timeend) as LastRefresh from ExecutionLogStorage where reportaction = 19 and ReportID = YourReportID
But the table only recalculates when it gets refreshed... So, "NOW()" is thus the "NOW" of when it was refreshed.
No... the dataset gets refreshed every few hours. The REPORT may be refreshed NOW, but the data in the dataset the report reference is as of the last dataset refresh. Pushing Refresh in the report does not refresh the underlying dataset, These particular reports are not live queries, They are too large and slow.
- Greg_Deckler6 years agoCommunity Champion
Yes, I agree, if you did have a column in a import data model that used NOW() in a column and whether a user presses "refresh" (which doesn't refresh the dataset) and you displayed that column in a card visual using MAX then they would see the date/time of the last time that the report actually did a real data refresh. Which was the original ask. Confused.