This repository has been archived by the owner on Aug 2, 2022. It is now read-only.
-
Notifications
You must be signed in to change notification settings - Fork 186
changes required for using to Power BI Service with Open Distro For Elasticsearch #669
Merged
chloe-zh
merged 49 commits into
opendistro-for-elasticsearch:develop
from
rupal-bq:feature/odbc/pbi
Aug 10, 2020
Merged
Changes from all commits
Commits
Show all changes
49 commits
Select commit
Hold shift + click to select a range
427bd79
pbi connector
401a053
update names
11856cd
- add mez file
e693269
nit
4158974
nit
586793f
image resize
9cb48a4
resize image
c234b88
remove extra lines
0d0c050
nit
50d4ccf
update mez file
023fb67
rename connector
0b857c0
rename mez file
06ae486
- add basic & aws auth
b2ff222
Merge branch 'develop' of https://github.com/rupal-bq/sql into featur…
3f6ff5d
add connector
ad73d91
update doc
91d5cbe
add ssl for auth
ddc725b
update docs for errors
b946351
Merge branch 'develop' of https://github.com/rupal-bq/sql into featur…
2bd944c
- remove sqlgetinfo & sqlcapabilities values from connector
ed0afb9
adding EncryptedConnectionString
22dc963
Merge branch 'develop' of https://github.com/rupal-bq/sql into featur…
82e9a72
add data type for columns
5022f1f
add alternate column size
f4c7068
reverting changes in catalog test
a76c382
nit
debe0c5
revert changes for column size validation
6add9da
Merge branch 'develop' of https://github.com/rupal-bq/sql into featur…
a80eee8
address PR comments
e6490e4
Update SQL_GROUP_BY value for fixing query folding issue
e1032c3
Merge branch 'develop' of https://github.com/rupal-bq/sql into featur…
9a36d47
removing AstVisitor for resolving query folding issue with data type …
8fa089b
fix parameter binding issue
4a874c7
Merge branch 'develop' of https://github.com/rupal-bq/sql into featur…
d681bf8
simplify changes
10986bb
update user doc for pbi
bb4913d
Merge branch 'develop' of https://github.com/rupal-bq/sql into featur…
37584d8
fix query folding issue while applying filter
446f986
change literal prefix & suffix value
c4f54e9
add user doc for using Power BI Service
96e47c0
resize image
73f265a
- add server instead of host & port for Power BI Service
4594d99
resize image
39bb952
resize image
c4f6fde
resize image
93aca03
Merge branch 'develop' of https://github.com/rupal-bq/sql into featur…
4eccc8e
update connector file
a492ce3
update docs for aws auth credentials
cc70ce4
fix typo
File filter
Filter by extension
Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
There are no files selected for viewing
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,82 @@ | ||
# Connecting Open Distro For ElasticSearch to Microsoft Power BI Service | ||
|
||
## Setup | ||
* Download and Install [On-premises data gateway](https://docs.microsoft.com/en-us/data-integration/gateway/service-gateway-install) | ||
* Change the path for custom data connector folder in On-premises data gateway so that the gateway can find the custom connector. | ||
> NOTE: Ensure the gateway service account (**PBIEgwService**) has permissions to access the custom connector folder. Alternatively, you can copy connector file to `C:\Windows\ServiceProfiles\PBIEgwService\Documents\Power BI Desktop\Custom Connectors\`. | ||
|
||
<img src="img/pbi_gateway_connector_path.png" width=500> | ||
|
||
* Verify the status of data gateway is ready to be used. | ||
|
||
<img src="img/pbi_gateway_status.png" width=500> | ||
|
||
* Login to Power BI Service. | ||
* Click on **Setting** > **Manage Gateway**. | ||
|
||
<img src="img/pbi_service_setting.png" width=400> | ||
|
||
* Select **Allow user's custom data connectors to refresh through this gateway cluster(preview)**. Click on **Apply**. | ||
|
||
<img src="img/pbi_service_cluster_setting.png"> | ||
|
||
* Click on **Add data sources to use the gateway**. | ||
* Select Data Source Type as **Open Distro For Elasticsearch**. | ||
* Enter Data Source Name and Server values. | ||
* Select required **Authentication Method**. Select **Anonymous** for auth **NONE**. | ||
For **AWS_SIGV4**, select **Key** and set aws access credentials for user **PBIEgwService** at path `C:\Windows\ServiceProfiles\PBIEgwService\.aws\` | ||
|
||
* Select Encryption mode for connection. | ||
* Click on **Add**. | ||
|
||
<img src="img/pbi_service_data_source.png" width=650> | ||
|
||
* You will get a **Connection Successful** message. | ||
|
||
<img src="img/pbi_service_data_source_success.png" width=650> | ||
|
||
|
||
## Publish Report | ||
|
||
* Follow [instructions](./power_bi_support.md) to create graph using Open Disto For Elasticsearch Data connector. | ||
* Click on **Publish** to publish the report on Power BI service. | ||
|
||
<img src="img/pbi_publish_report.png"> | ||
|
||
* Select destination and click on **Select**. | ||
|
||
<img src="img/pbi_select_workspace.png" width=400> | ||
|
||
* You will get a success message when report is published. | ||
|
||
<img src="img/pbi_publish_status.png" width=400> | ||
|
||
* Click on **Open '%report name%' in Power BI** to open published report in Power BI service. | ||
|
||
## Modify report using Power BI Service | ||
|
||
* Click on **Edit report** to modfify report. | ||
|
||
<img src="img/pbi_service_edit_reoprt.png"> | ||
|
||
* Use **Filters**,**Visualizations** and **Fields** to modify report. | ||
|
||
<img src="img/pbi_service_modified_report.png"> | ||
|
||
## Dataset Scheduled Refresh | ||
|
||
* Click on **Settings** > **Datasets**. | ||
* Select required Gateway and click on **Apply**. | ||
|
||
<img src="img/pbi_service_dataset_gateway.png" width=800> | ||
|
||
* Turn on Keep your data up to date option. | ||
* Select refresh frequency and timezone. | ||
* Add email for failure notifications if required. | ||
* Click on **Apply**. | ||
|
||
<img src="img/pbi_service_dataset_refresh.png" width=550> | ||
|
||
* You can also check history by clicking on **Refresh history**. | ||
|
||
<img src="img/pbi_service_dataset_refresh_history.png" width=550> |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Binary file modified
BIN
-120 Bytes
(100%)
sql-odbc/src/PowerBIConnector/bin/Release/OdfeSqlOdbcPBIConnector.mez
Binary file not shown.
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Do we need to do anything on the driver side to handle this change?
(ie. will the driver understand a
Host
value oflocalhost:9200
?)There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
The driver doesn't need any change. I tested with PBI and ODBC administrator.