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
No Need - the Powerquery Solution I Provided accurately reporst the local time irrespective of the location where the data was refreshed
Anonymous:
Your approach is brilliant. It uses the US locale to get the time zone shift.
Anonymous wrote:Table.TransformColumnTypes(#"Changed Type", {{"LastRefresh", type datetimezone}}, "en-US"),
It worked fine in Power BI desktop, locally, but when I uploaded to the service it didn't work right.
I think you're on the right track, but I am not quite there yet.