Skip to main content
cancel
Showing results for 
Search instead for 
Did you mean: 

Register now to learn Fabric in free live sessions led by the best Microsoft experts. From Apr 16 to May 9, in English and Spanish.

Reply
Anonymous
Not applicable

Last Refresh Date not refreshed in the web

I set up a Last Refresh visual in the report – I have used this Last Refresh DAX code more times than I care to remember, never had problem with it before:

= #table(type table[LastRefresh=datetime], {{DateTime.LocalNow()}})

But, this time, why is it when I manually refresh the report, the value for Last Refresh updates to the latest refresh time, e.g. 2/11/2020.

But, in the scheduled refresh in PBI service, after the entire report is refreshed, that Last Refresh date isn’t updated.


Thanks.

2 REPLIES 2
GilbertQ
Super User
Super User

Hi there

The above code is from Power Query.

Could you check to see what happens if you refresh it in Power BI Desktop?




Did I answer your question? Mark my post as a solution!

Proud to be a Super User!







Power BI Blog

Anonymous
Not applicable

Hi, thanks for replying. That's what I mean, when I refresh in PBI Desktop it refreshes fine. But here's the deal. ALL the PBI reports I have ever developed all have the Last Refresh date code, and, ALL OF THEM (with this one exception now) refresh fine both in desktop and in the web. Thanks.

Helpful resources

Announcements
Microsoft Fabric Learn Together

Microsoft Fabric Learn Together

Covering the world! 9:00-10:30 AM Sydney, 4:00-5:30 PM CET (Paris/Berlin), 7:00-8:30 PM Mexico City

PBI_APRIL_CAROUSEL1

Power BI Monthly Update - April 2024

Check out the April 2024 Power BI update to learn about new features.

April Fabric Community Update

Fabric Community Update - April 2024

Find out what's new and trending in the Fabric Community.

Top Solution Authors
Top Kudoed Authors