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
Anonymous
Not applicable

Dataflows Last Refresh Date?

Hi,

 

How to show Dataflows Last Refresh Date in Power BI Report?

 

Thanks,

Lawrance A

1 ACCEPTED SOLUTION

Hi @Anonymous,

Sorry, I should have been clearer.

You need to add the code to yor dataflow, so when the dataflows is refreshed it will give you the execution time. 

Hope this helps

Mariusz


View solution in original post

6 REPLIES 6

You can also follow the steps in this video to get that last refresh date of a dataflow: https://youtu.be/Qe7exs9i_ww 

 

They just added this api. 

Mariusz
Community Champion
Community Champion

HI @Anonymous 

Add this is M script that I use

let
Source = #table(type table [#"dataflow last refresh"=datetime], {{DateTime.LocalNow()}})
in
Source

 Hope this helps
Mariusz

Anonymous
Not applicable

I tired the script but it showing current data time instead of Dataflow last refresh date.

 

Thanks,

Lawrance A

Hi @Anonymous,

Sorry, I should have been clearer.

You need to add the code to yor dataflow, so when the dataflows is refreshed it will give you the execution time. 

Hope this helps

Mariusz


Hey @Mariusz 

 

I've just used your script to allow us to pull through the last refresh time of our dataflow - however do you know how to convert and report it in the service as UK time?

 

I've found this post which looks like it does the above, however the last post states:

 

This solution works in desktop but does not work when you publish the report to the service. Any ideas on a fix? (I know the Service goes by UTC time)

 

Thanks

 

Mark

Anonymous
Not applicable

Got it, thanks.

Thanks,
Lawrance A

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.