官术网_书友最值得收藏!

DirectQuery

Many of you have likely been trying to envision how you may implement these data imports in your environment. You may ask yourself questions such as the following:

  • If data imported into Power BI uses an in-memory technology, did my company provide me a machine that has enough memory to handle this? 
  • Am I really going to import my source table with tens of billions of rows into memory?
  • How do I handle a requirement of displaying results in real time from the source?

These are all excellent questions that would have many negative answers if the only way to connect to your data was by importing your source into Power BI. Fortunately, there is another way. Using DirectQuery, Power BI allows you to connect directly to a data source so that no data is imported or copied into the Power BI Desktop.

Why is this a good thing? Consider the questions that were asked at the beginning of this section. Since no data is imported to the Power BI Desktop, that means it is less important how powerful your personal laptop is because all query results are now processed on the source server instead of your laptop. It also means that there is no need to refresh the results in Power BI because any reports you design are always pointing to a live version of the data source. That's a huge benefit!

Enabling this feature can be done by simply selecting DirectQuery during the configuration of a data source. The following screenshot shows a connection to an SQL Server database with the DirectQuery option selected:

Earlier in this chapter, the Data Gateway application was mentioned as a requirement to schedule data refreshes for sources that used the import option. This same application is also needed with DirectQuery if your data is an on-premises source. Even though there is no scheduled data refresh, the Data Gateway is still required to push on-premises data into the cloud. Again, this will be discussed in more depth in Chapter 7, Using a Cloud Deployment with the Power BI Service.

主站蜘蛛池模板: 安丘市| 湾仔区| 青岛市| 连南| 靖西县| 潮安县| 海晏县| 株洲市| 武功县| 翁牛特旗| 云安县| 三都| 怀仁县| 五台县| 三门县| 内乡县| 韶关市| 云阳县| 旬邑县| 昌宁县| 二连浩特市| 新化县| 安仁县| 斗六市| 洛浦县| 行唐县| 桐梓县| 民县| 新平| 纳雍县| 象山县| 云和县| 云和县| 沅江市| 满洲里市| 渝中区| 芦山县| 昭苏县| 北海市| 上杭县| 临泉县|