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

SQL Server as a source

Another common source designed for relational databases is Microsoft SQL Server:

  1. To connect to SQL Server, select the Get Data button again, but this time choose SQL Server. Here, you must provide the server, but the database is optional and can be selected later:

  1. For the first time, you are asked to choose the type of Data Connectivity mode you would like. As mentioned previously, Import is the default mode, but you can optionally select DirectQuery. DirectQuery will be discussed in greater detail later in this chapter. Expanding the Advanced options provides a way to insert a SQL statement that may be used as your source. For the following example, in the server is the only one property populated before clicking OK:

  1. Next, you will be prompted to provide the credentials you are using to connect to the database server you provided on the previous screen.
  2. Click Connect after providing the proper credentials to launch the same Navigator dialog that you may remember from when you connected to Excel. Here, you will select the tables, views, or functions within your SQL Server database that you desire to import into your Power BI solution. Once again, the final step in this dialog allows you to choose to either Load or Edit the results.
主站蜘蛛池模板: 阳原县| 定日县| 厦门市| 松江区| 双桥区| 鄂伦春自治旗| 闵行区| 鹤庆县| 芮城县| 江油市| 河西区| 射阳县| 齐河县| 新乡县| 富顺县| 都江堰市| 石景山区| 喀什市| 买车| 和林格尔县| 加查县| 永年县| 庐江县| 大港区| 应用必备| 峡江县| 伊宁市| 宁南县| 綦江县| 江源县| 山西省| 双桥区| 山东省| 锦屏县| 金山区| 永平县| 唐山市| 卢氏县| 精河县| 彰化县| 阿尔山市|