How to add a Data Updated As Of: dynamically in text?

How to add a Data Updated As Of: dynamically in text?

I need to add a "Data Updated As Of" in the dashboard to show when was the last date the data was updated. I tried to create a widget but it does not look really good, see below.



Is there a way I can do this through the text widget and update it automatically base on the Max Date of my Data? like this one?