Forum Discussion
Automatic refresh not appearing on Last refresh card
- 1 year ago
Hi 4jhill ,
Thank you for your question, and great points raised by Tutu_in_YYC and tharunkumarRTK .
It's true that ensuring the query is included in the dataset refresh and refreshing the browser after a scheduled refresh are important steps to check.
In addition to that, I’d like to share a solution that ensures the 'Last Refresh' card reflects the automatic refresh.
>Modify the query as below
let
CurrentUTCDateTime = DateTimeZone.UtcNow(),
CurrentLocalDateTime = DateTimeZone.SwitchZone(CurrentUTCDateTime, 2),
LocalDateTime = DateTimeZone.RemoveZone(CurrentLocalDateTime) // Remove the time zone metadata for consistency
in
LocalDateTime
Now again publish the report to the service and configure the schedule refresh.
This time it should work and display the correct date/time in the card.
Hope this helps. Please accept as solution so that other users can benefit from it. Kudos would be appreciated.
Best Regards.
From what I understand, you used power query function to capture the refresh time and you also fixed the timezone offset value but still you are not able to see the last refresh datetime.
This sounds odd, I am wondering have you excluded this table from refresh? Just check if you have disabled it.
Is it happening even with manual refresh? I would suggest you to republish the dataset and check if that helps.
Need a Power BI Consultation? Hire me on Upwork
Connect on LinkedIn
|