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
Create a column in some table in your dataset:
Refreshed = NOW()
Display the MAX of this in a Card visual. The calculated column will be updated when the data is refreshed.
- Anonymous6 years agoNot applicable
NOW() is not the time of the Last Refresh. The time of the last dataset refresh might have been 2 hours ago.
- Greg_Deckler6 years agoCommunity Champion
But the table only recalculates when it gets refreshed... So, "NOW()" is thus the "NOW" of when it was refreshed.
- Anonymous6 years agoNot applicable
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.