Easily Add Last Refresh Date in Power BI Reports

Easily Add Last Refresh Date in Power BI Reports

Table of Contents

  1. Introduction
  2. Method 1: Adding the Last Refresh Date Using Power Query
  3. Method 2: Using the World Time API
  4. Pros and Cons
  5. Conclusion
  6. FAQ

Introduction

In this article, we will learn how to add the last refresh date in your Power BI reports. This is a commonly requested feature by end users, and we will explore two different methods to achieve this. By following these steps, you can display the last refresh date in your reports, providing your users with up-to-date information.

Method 1: Adding the Last Refresh Date Using Power Query

One way to add the last refresh date in your Power BI reports is by utilizing Power Query. With Power Query, we can create a card visual that displays the last refresh date in your desired time zone. Here are the steps to achieve this:

  1. Get data using the Power Query user interface.
  2. Transform the list into a table.
  3. Rename the columns and split the date and time components.
  4. Drag the date component into a card visual.
  5. Apply the changes and refresh the report.

This method allows you to customize the display of the last refresh date according to your needs.

Method 2: Using the World Time API

Another approach to adding the last refresh date in Power BI reports is by utilizing the World Time API. This method offers more flexibility in choosing the time zone for the refresh date. Here are the steps to follow:

  1. Access the World Time API website.
  2. Copy the API option for your desired time zone.
  3. Use Power Query to get data from the web and paste the API option.
  4. Replace the default time zone with your desired city.
  5. Remove unnecessary columns and rename the table.
  6. Create a card visual using the refreshed time column.

Using the World Time API allows you to ensure the last refresh date reflects the specific time zone you want, even when publishing to Power BI service with UTC default time zone.

Pros and Cons

Method 1: Adding the Last Refresh Date Using Power Query

Pros:

  • Straightforward process.
  • Allows customization of the displayed time zone.

Cons:

  • Limited to the available time zones in Power Query.

Method 2: Using the World Time API

Pros:

  • Provides flexibility in selecting the desired time zone.
  • Ensures accuracy of the refresh date even with UTC default time zone in Power BI service

Cons:

  • Requires accessing a third-party website for the API.

Conclusion

Adding the last refresh date in Power BI reports is a valuable feature for end users. By following either of the methods discussed in this article, you can easily incorporate the last refresh date into your reports. Consider your specific requirements and choose the method that best suits your needs.

FAQ

  1. Q: Can I display the last refresh date in a specific time zone other than the default UTC?

    • A: Yes, by using the World Time API method, you can specify the desired time zone for the last refresh date.
  2. Q: Are there any limitations to the available time zones using Power Query?

    • A: The available time zones are dependent on the options provided in Power Query. If the desired time zone is not available, the World Time API method can be used.

Resources:

I am an ordinary seo worker. My job is seo writing. After contacting Proseoai, I became a professional seo user. I learned a lot about seo on Proseoai. And mastered the content of seo link building. Now, I am very confident in handling my seo work. Thanks to Proseoai, I would recommend it to everyone I know. — Jean

Browse More Content