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

The Power BI Data Visualization World Championships is back! It's time to submit your entry. Live now!

Reply
lokeshb31
Helper II
Helper II

Show Last Refresh of Semantic Model in Power BI Report

Hi,

 

We aim to incorporate the last refresh of semantic model in Power BI report and followed article https://zebrabi.com/guide/how-to-add-refresh-date-in-power-bi/ to create a measure Last Refreshed = "Last Refreshed: " & FORMAT(NOW(), "dd/mm/yyyy HH:mm")

 

However tjis measure displays the latest date and time even during manual refreshes of visuals or when hitting the browser refresh. Can anyone help how to display the exact date/time in Power BI report when the semantic model was last refreshed?

2 REPLIES 2
ibarrau
Super User
Super User

Hi. Measures are processed at the moment you open the report to view the page. So if you run NOW, it will show now date. In order to keep the refreshed date of a semantic model, you can add a new query at Power Query editor asking for current date. The script getting the last date at power query will always run only when a refresh is run. So you can have the last date of the refresh inside the model.

Open Power Bi Desktop, add a blank query with the following code

DateTime.LocalNow()

That would bring datetime of the last refresh. If you just want date you can convert it with the function DateTime.Date()

Once you apply that, you can find a table with a column with one value on the model. The lastest refresh.

I hope that helps,


If this post helps, then please consider Accept it as the solution to help the other members find it more quickly.

Happy to help!

LaDataWeb Blog

I had the same question today, found your reply, and it worked like a charm.  Thank you!

Helpful resources

Announcements
Power BI DataViz World Championships

Power BI Dataviz World Championships

The Power BI Data Visualization World Championships is back! It's time to submit your entry.

December 2025 Power BI Update Carousel

Power BI Monthly Update - December 2025

Check out the December 2025 Power BI Holiday Recap!

FabCon Atlanta 2026 carousel

FabCon Atlanta 2026

Join us at FabCon Atlanta, March 16-20, for the ultimate Fabric, Power BI, AI and SQL community-led event. Save $200 with code FABCOMM.