Forum Discussion
last time refresh
- 10 years ago
Hi,
Maybe this will solution will help,
http://www.powerpivotpro.com/2010/11/add-a-last-refreshed-date-readout/
I will try tommorow and update :-)
- 10 years ago
Hi nir,
You can add a calculated column (Last Refresh Column) in the model with the formula =NOW()
And measure Last Refresh Date :=MAX(Table[Last Refresh Column])
Since calculated columns are calculated only on model refresh - it will make sure the calc is right
Hi,
Maybe this will solution will help,
http://www.powerpivotpro.com/2010/11/add-a-last-refreshed-date-readout/
I will try tommorow and update :-)
Hi nir,
You can add a calculated column (Last Refresh Column) in the model with the formula =NOW()
And measure Last Refresh Date :=MAX(Table[Last Refresh Column])
Since calculated columns are calculated only on model refresh - it will make sure the calc is right
- AStolk10 years agoFrequent Visitor
Within Power BI Desktop, this works fine! However, after publishing this to PowerBI.com and executing a refresh within the browser, the result of the Last Refresh Date is always displaying an hour too early. It looks like it's refreshing and displaying the last refresh date and time in GMT timezone, but I'm in GMT+1. Is it possible to take into account the timezone?
- pmendoza10 years agoFrequent Visitor
This is not possible in either my Desktop or Service . Am I missing something?
Thanks!
- ShrikantKhanna9 years agoHelper II
When you need Last Refreshed at on the report page - You may not need to create a new calculated column. You can create a measure "LAST REFRESHED = NOW()"
You can use a card visual and put this measure in fields.
This should work.
- wynhopkins9 years agoMost Valuable Professional
ShrikantKhanna, that's a good suggestion.
I'll have to test it out.
On first view it works well in Power BI Desktop
When I publish the file to Power BI .com I get a different result, the one on the right is correct, the =NOW() one on the left has changed...
- Anonymous9 years agoNot applicable
All good ideas.
I have ended up having a table generated in Power Query called "Last Data Refresh" which is
DateTimeZone.LocalNow()
This seems to give the local time for me of the last time the data was refreshed. One of my refreshes takes quite a while so it may not be the time the data ws actually pulled from the source system but the time the computations get around to updating thsi value as part of the overall set of queries.