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

Find everything you need to get certified on Fabric—skills challenges, live sessions, exam prep, role guidance, and more. Get started

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
July 2024 Power BI Update

Power BI Monthly Update - July 2024

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

PBI_Carousel_NL_June

Fabric Community Update - June 2024

Get the latest Fabric updates from Build 2024, key Skills Challenge voucher deadlines, top blogs, forum posts, and product ideas.

Top Solution Authors