You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: README.md
+9-8Lines changed: 9 additions & 8 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -1,5 +1,6 @@
1
1
# Power Query Custom Data Connector for Power BI REST APIs (Commercial)
2
2
3
+
3
4
This Custom Data Connector wraps many of the "Get" endpoints in the Power BI API (with the exception of the /executeQueries endpoint), so that OAuth can be used to authenticate to the service. This connector serves as a way to have a library of Power Query functions to build datasets based on the Power BI APIs without the need for storing client secrets or passwords in the dataset.
4
5
5
6
Each function returns a JSON body and not a table of data. This decision was made to provide flexibility in converting the JSON body to tabular data when 1) the API responses are changed by Microsoft or 2) the API responses differ between commercial and sovereign clouds (e.g., GCC, DoD, etc.).
@@ -26,12 +27,12 @@ Each function returns a JSON body and not a table of data. This decision was ma
26
27
Because this is a custom data connector you have to choose this option in order to use it in Power BI Desktop.
27
28
28
29
3. Close all Power BI Desktop instances on your local machine. You are often prompted to do so by Power BI Desktop.
29
-
4. Copy the [.mez file](https://github.com/kerski/powerquery-connector-pbi-rest-api-commercial/blob/main/bin/AnyCPU/Debug/powerquery-connector-pbi-rest-api-commercial.mez?raw=true) to your folder "Documents\Power BI Desktop\Custom Connectors". If the folder does not exist create it first.
30
-
5. Open Power BI Desktop
30
+
4. Copy the [.mez file](https://github.com/kerski/powerquery-connector-pbi-rest-api-commercial/releases/download/v.1.0.0-beta/powerquery-connector-pbi-rest-api-commercial.mez) to your folder "Documents\Power BI Desktop\Custom Connectors". If the folder does not exist, create it first.
31
+
5. Open Power BI Desktop.
31
32
6. Select Get Data option.
32
-
7. Navigate to the "Other" section and you should see the "PBIRESTAPIComm" connector.
33
+
7. Navigate to the "Other" section and you should see the "Connect to Power BI REST API" connector.
@@ -110,15 +111,15 @@ The custom data connector will need to be installed in the a Power BI Gateway in
110
111
111
112
### Prerequisites
112
113
113
-
1. Install Visual Studio code: https://code.visualstudio.com/download
114
+
1. Install Visual Studio code: https://code.visualstudio.com/download.
114
115
1. Install Power Query SDK for Visual Studio Code: https://github.com/microsoft/vscode-powerquery-sdk
115
116
1. Clone this repo to your local machine.
116
117
117
118
## Compile
118
119
119
120
In order to the compile the custom data connector to the .mez file, please follow these instructions:
120
121
121
-
1. Using your keyboard, use the shorcut Ctrl+Shift+B. Visual Studio will prompt you within the command palette to choose a build task. Select the "build: Build connector project using MakePQX"
122
+
1. Using your keyboard, use the shorcut Ctrl+Shift+B. Visual Studio will prompt you within the command palette to choose a build task. Select the "build: Build connector project using MakePQX".
0 commit comments