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

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.
主站蜘蛛池模板: 东方市| 余干县| 新乡县| 满洲里市| 清苑县| 洛隆县| 丹巴县| 韶山市| 安溪县| 措美县| 梅河口市| 二手房| 忻城县| 锦州市| 灵川县| 垣曲县| 乐山市| 通化县| 赫章县| 金平| 伊川县| 玉龙| 汉寿县| 辉南县| 华亭县| 屯门区| 盱眙县| 常德市| 特克斯县| 四平市| 象山县| 绥滨县| 临朐县| 卓资县| 石渠县| 板桥市| 新竹县| 巴彦县| 扎囊县| 五莲县| 沾化县|