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

The Power BI DataViz World Championships are on! With four chances to enter, you could win a spot in the LIVE Grand Finale in Las Vegas. Show off your skills.

Reply
MacJasem
Helper III
Helper III

How to get the Latest Date/time for Dataset update/refresh

Hi Guys

 

I my report i want to show when the latest update/refresh of the dataset was done, i can see the info in the service as shown in the screenshot, but i'd like to fetch the same data in desktop so that i can incorporate the info into the report. How can i get that info via PowerQuery or perhaps DAX?

MacJasem_1-1687178111141.png

 

Thanks in advance, i really appreciate the community and all the effort you guys put into your answers and help🙏

 

 

 

 

 

 

6 REPLIES 6
MacJasem
Helper III
Helper III

Thanks @Syk & @some_bih  for your input, they are great👍

Because my data is funneled through a DataFlow in the service, i'd like to show the last DataFlow Refresh date in my report, so if the dataflow fails i'd show in the report that it hasn't been refreshed/updated as scheduled. 

Do you know any great ways to do that?

Hi @MacJasem check community solution

https://community.fabric.microsoft.com/t5/Desktop/Dataflows-Last-Refresh-Date/td-p/678749 

hop this help





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

Proud to be a Super User!






Hi @some_bih 

Thanks for the reference. I tried creating a table in the dataflow as such:

#table(type table [#"Dataflow last refresh"=datetime], {{DateTime.LocalNow()}})
But the refresh time that it returns is not up to date. I created it at 12:25;
MacJasem_1-1688128308540.png

and i've refreshed the table several times and the time doesn't change. The DataFlow says it was refreshed at 13:37 after refreshing:

MacJasem_0-1688128247218.png

 

, shouldn't the value in the table/column represent the same value as the dataflow refresh time?
You have any idea why?

Hi @MacJasem according to link (before) it could be that upload dataset to power bi and your machine are different places / counties (mention in link similar as your scenario). 

On link below you can find video and usefull details how to check your timezone. Hope this help. 

https://gorilla.bi/power-query/last-refresh-datetime/ 





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

Proud to be a Super User!






Syk
Super User
Super User

some_bih
Super User
Super User

Hi @MacJasem check https://learn.microsoft.com/en-us/azure/devops/report/powerbi/add-last-refresh-time?view=azure-devop...  Hope this help





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

Proud to be a Super User!






Helpful resources

Announcements
Feb2025 Sticker Challenge

Join our Community Sticker Challenge 2025

If you love stickers, then you will definitely want to check out our Community Sticker Challenge!

Jan NL Carousel

Fabric Community Update - January 2025

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