cancel
Showing results for 
Search instead for 
Did you mean: 
Reply
Helper III
Helper III

Latest update details ?

Hi All,

How to show the latest dataset refresh details which is showed with green arrow in the power bi app Card visualization ?

suvechha_0-1597381783910.png

 

1 ACCEPTED SOLUTION

Accepted Solutions
Community Support
Community Support

Hi @suvechha ,

 

Within Power BI Desktop, you can add another Power Query dataset to display the current date each time we refresh the report. You may create a new Blank Query, and then add this into the Advanced Editor:

let

    Source = DateTimeZone.FixedUtcNow()

in

    Source

 

 

These examples use UTC. You can adjust the query code based on your specific timezone as described in DateTimeZone functions.

 

For example:

 

let

Source = DateTimeZone.SwitchZone(DateTimeZone.FixedUtcNow(),-3)

in

Source

 

For reference:

 

 Display Last Refreshed Date in Power BI

 

Create a column in Power BI for last refresh date

 

Best Regards,

Amy 

 

Community Support Team _ Amy

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

View solution in original post

3 REPLIES 3
Community Champion
Community Champion

HI @suvechha 

 

We need to generate the Last Refresh date ourselves using Power Query.  No big deal, it is as simple as this:

  • Open PowerBI Desktop
  • Get Data –-> Blank Query
  • Go to Home –> Advanced Editor and replace the code in the window with this:

let
Source = #table(type table[LastRefresh=datetime], {{DateTime.LocalNow()}})
in
Source

  • Click Done and rename the query “LastRefresh_Local”
  • Click Close & Apply

To finish it off, we need to create a simple measure and add it to our dashboard.

  • Go to your Report window –> New Measure –> Define it as follows:

Last Refreshed (Local) = FORMAT(LASTDATE(LastRefresh_Local[LastRefresh]),"mmm dd, yyyy hh:mm:ss AM/PM")

  • Create a Card visual for display
 

Did I resolve your issue? Mark my post as a solution! Appreciate your Kudos, Press the thumbs up button!!

 

Regards,
Pranit


Hope it resolves your issue? Please consider accepting it as the solution to help the other members find it more quickly.


Appreciate your Kudos, Press the thumbs up button!!👍


Regards,
Pranit


Super User IV
Super User IV

@suvechha , refer this link for detailed steps

 

https://www.enhansoft.com/how-to-add-the-last-refreshed-date-and-time-to-a-power-bi-report/



Did I answer your question? Mark my post as a solution! Appreciate your Kudos!!
Dashboard of My Blogs !! YouTube Channel !! Connect on Linkedin

Proud to be a Super User!

Community Support
Community Support

Hi @suvechha ,

 

Within Power BI Desktop, you can add another Power Query dataset to display the current date each time we refresh the report. You may create a new Blank Query, and then add this into the Advanced Editor:

let

    Source = DateTimeZone.FixedUtcNow()

in

    Source

 

 

These examples use UTC. You can adjust the query code based on your specific timezone as described in DateTimeZone functions.

 

For example:

 

let

Source = DateTimeZone.SwitchZone(DateTimeZone.FixedUtcNow(),-3)

in

Source

 

For reference:

 

 Display Last Refreshed Date in Power BI

 

Create a column in Power BI for last refresh date

 

Best Regards,

Amy 

 

Community Support Team _ Amy

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

View solution in original post

Helpful resources

Announcements
November Update

Check it Out!

Click here to read more about the November 2020 Updates!

Community Conference

Power Platform Community Conference

Check out the on demand sessions that are available now!

secondImage

Power Platform October Community Highlights

Check out the top community contributors across all of the communities

secondImage

Create an end-to-end data and analytics solution

Learn how Power BI works with the latest Azure data and analytics innovations at the digital event with Microsoft CEO Satya Nadella.

Top Solution Authors
Top Kudoed Authors