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

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.
主站蜘蛛池模板: 鄂伦春自治旗| 根河市| 水富县| 平度市| 大埔区| 宁晋县| 长宁区| 保山市| 陆丰市| 遵义县| 梁河县| 拉孜县| 古丈县| 法库县| 卢龙县| 吉林市| 会昌县| 疏勒县| 南昌县| 和平县| 静宁县| 巢湖市| 清镇市| 鹤壁市| 武城县| 龙州县| 内乡县| 重庆市| 泾源县| 嘉义市| 什邡市| 逊克县| 石家庄市| 石狮市| 和平区| 宜章县| 于都县| 密山市| 商南县| 阿城市| 台江县|