Is it possible to get the Data Last Refresh timestamp on the dashboard?
I have tried creating a calculated field (NOW()) at the dataset level and used it in insights visual. But it gives the timestamp of when the data refresh begins, I would need the timestamp of when the refresh completes.
There are some posts on this problem - Please do check out and let me know if these didn’t help you.
Post 1 -
Post 2 -
Post 3 -
Thank you,
Shravya
Hi, Yes I have seen those posts. But adding a calculated now() field at dataset level gives me the timestamp when the scheduled refresh starts not when it ends.
For ex- If my dataset has a refresh schedule of hourly and starts at 12 AM and the refresh takes 8 mins, I need to display 12:08 AM as the last refresh timestamp not the time when refresh is triggered i.e. 12 AM.
Okay, but as far as I know its not possible to get the refresh complete time.
There is another alternative but not sure if you prefer this -
- Using a Date Column from Your Data Source - If your data source has a column that tracks the most recent update or transaction timestamp (e.g., updated_at, processed_date, or refresh_date), you can: Use the max() function on that column to find the latest timestamp in your dataset.
Tagging experts here to update if there is any other workaround or a new feature - @DylanM @Sanjeeb2022 @agmayan @Ying_Wang @David_Wong
Thank you,
Shravya
Just follow these simple steps to achieve this.
First of all, it depends on your dataset, whether you are using full refresh or incremental refresh time.
If your dataset uses Full Refresh:
Go to your dataset and create a calculated field called “Last Refreshed Time” with the now()
function.
If your dataset uses Incremental Refresh:
In this case, you need to create two calculated fields:
- The first one uses the
now()
function (as shown above).
- The second one calculates the maximum of the “Last Refreshed Time” field.
Please follow these steps, and you should achieve your desired results.
*Note: Please create these two calculated fields in the QuickSight dataset level, not at the analysis level.
Please do the testing and confirm.
Thanks & Regards
Biswajit Dash
Hi Rishita @Rishita_Chebrolu ,
Currently, the only way to precisely get the refresh end time is via list-ingestion/describe-ingestion API. You have the start time and ingestion time in seconds there which can be used to derive the completion time. Bring this to the dashboard will involve getting the info via API, writing it to a data source and triggering refresh on a ‘metadata’ dataset to pull this in. While this can be done programmatically, I do acknowledge that this is too much work to get this info.
Using now(), sysdate from DB etc gets you close enough without this hassle.
We do have a Product Feature Request in our list to make this info available as dataset metadata that you can directly use in analysis. Please have your AWS account TAM/SA file a customer influence at this internal link.
If you don’t have a dedicated AWS contact, send me your org details and I will file the customer influence on your behalf (Use message option from user tile)
Regards,
Arun Santhosh
Pr QuickSight SA