Reader small image

You're reading from  Learn Power BI - Second Edition

Product typeBook
Published inFeb 2022
PublisherPackt
ISBN-139781801811958
Edition2nd Edition
Right arrow
Author (1)
Gregory Deckler
Gregory Deckler
author image
Gregory Deckler

Greg Deckler is Vice President of the Microsoft Practice at Fusion Alliance and has been a professional technology systems consultant for over 25 years. Internationally recognized as an expert in Power BI, Greg Deckler is a Microsoft MVP for Data Platform and a superuser within the Power BI community with over 100,000 messages read, more than 11,000 replies, over 2,300 answers, and more than 75 entries in the Quick Measures Gallery. Greg founded the Columbus Azure ML and Power BI User Group (CAMLPUG) and presents at numerous conferences and events, including SQL Saturday, DogFood, and the Dynamic Communities User Group/Power Platform Summit.
Read more about Gregory Deckler

Right arrow

Chapter 11: Refreshing Content

So far, we have spent quite a bit of time in the Power BI service working with reports, dashboards, apps, and security. Throughout this book, we have learned how to create data models and reports and then publish and share our work using the Power BI service. However, it is the nature of data to change over time. New data gets added or existing rows are deleted or changed. Hence, once our work is in the Power BI service, how do we keep our work up to date with new data without having to manually refresh the data on the desktop and republish it? Luckily, the Power BI service contains even more functionality that allows us to keep our data refreshed.

In this chapter, we will cover how to install and configure data gateways, which can keep our data up to date. Then, we will learn how to configure our datasets to use these gateways.

The following topics will be covered in this chapter:

  • Installing and using data gateways
  • Refreshing datasets...

Technical requirements

You will need the following to complete this chapter:

Installing and using data gateways

The on-premises data gateway, or simply data gateway, is a piece of software that's installed on an on-premises computer that provides a secure connection between local, on-premises data, and a variety of services that reside in Microsoft's Azure cloud, including the Power BI service. Once installed, the Power BI service can use this gateway to refresh datasets that have been published to the Power BI service, as shown in the following diagram:

Figure 11.1 – Data gateway

There are two ways the gateway can operate, as follows:

  • Standard
  • Personal

The reason to install a gateway in one mode versus the other comes down to the scenario in which you plan to use the gateway. You will want to use the standard mode if the following applies:

  • You want other users within the organization to use a single, centralized gateway.
  • You need DirectQuery, as well as import mode datasets.
  • You wish...

Refreshing datasets

Now that a gateway has been installed and configured, it is time to enable our dataset so that it can automatically refresh. This means that if we add or replace the data to/in our file or database, the Power BI service can automatically refresh that data within the published dataset so that the associated dashboards and reports are kept up to date.

Scheduling a refresh

To schedule a refresh for a dataset, do the following:

  1. Log into the Power BI service.
  2. Navigate to your workspace using the Navigation pane.
  3. Under the Datasets heading, hover over your dataset and then click the three vertical dots to see a fly-out menu, similar to the one shown in the following screenshot:

Figure 11.21 – Accessing the Schedule refresh option for a dataset

  1. Choose Schedule refresh from the menu to display the dataset's settings page, as shown in the following screenshot:

Figure 11.22 –...

Summary

This chapter was all about how to configure Power BI to keep datasets that are published to the Power BI service up to date automatically. We learned how to download, install, and configure the on-premises data gateway in both standard (enterprise) and personal modes. We also learned how to manage gateways within the Power BI service, as well as configure data sources for use in gateways. Finally, we learned how to schedule the datasets for automatic refresh by the Power BI service.

You have now learned all of the basic skills that you will need when working with Power BI, which has opened the door to an entirely new and exciting world. In the next chapter, we dive deeper into the world of deploying, governing, and adopting Power BI.

Questions

As an activity, try to answer the following questions on your own:

  • What is the purpose of the on-premises data gateway?
  • In what two modes can the data gateway be installed?
  • What must you do to ensure that the data gateway starts after rebooting the computer that the gateway is installed on?
  • What feature allows for redundancy and load balancing when you're refreshing data?
  • What two methods can be used to add a data source to a data gateway?
  • How many times can a dataset be refreshed per day?

Further reading

You can check out the following links for additional information regarding this chapter's topics:

lock icon
The rest of the chapter is locked
You have been reading a chapter from
Learn Power BI - Second Edition
Published in: Feb 2022Publisher: PacktISBN-13: 9781801811958
Register for a free Packt account to unlock a world of extra content!
A free Packt account unlocks extra newsletters, articles, discounted offers, and much more. Start advancing your knowledge today.
undefined
Unlock this book and the full library FREE for 7 days
Get unlimited access to 7000+ expert-authored eBooks and videos courses covering every tech area you can think of
Renews at $15.99/month. Cancel anytime

Author (1)

author image
Gregory Deckler

Greg Deckler is Vice President of the Microsoft Practice at Fusion Alliance and has been a professional technology systems consultant for over 25 years. Internationally recognized as an expert in Power BI, Greg Deckler is a Microsoft MVP for Data Platform and a superuser within the Power BI community with over 100,000 messages read, more than 11,000 replies, over 2,300 answers, and more than 75 entries in the Quick Measures Gallery. Greg founded the Columbus Azure ML and Power BI User Group (CAMLPUG) and presents at numerous conferences and events, including SQL Saturday, DogFood, and the Dynamic Communities User Group/Power Platform Summit.
Read more about Gregory Deckler