Connect to Amazon DocumentDB from Microsoft Power BI Desktop
Topics
Prerequisites
Before beginning, ensure that the Amazon DocumentDB ODBC driver is correctly installed.
Adding Microsoft Power BI Desktop custom connector
Copy the AmazonDocumentDBConnector.mez
file to the <User>\Documents\Power BI Desktop\Custom Connectors\
folder (or to <User>\OneDrive\Documents\Power BI Desktop\Custom Connectors
if using OneDrive).
This will allow Power BI to access custom connector.
You can get the connector to Power BI Desktop here
Note
The custom connector only supports Amazon DocumentDB username and password for authentication.
Connecting using the Amazon DocumentDB custom connector
-
Select Amazon DocumentDB (Beta) from Get Data and click Connect. If you get a warning for using a third-party service, click Continue.
-
Enter all necessary information to connect to your Amazon DocumentDB cluster, then click OK:
Note
Depending on the configuration of your ODBC driver's Data Source Name (DSN), the SSH connection details screen may not be displayed if you have already provided the necessary information within the DSN settings.
-
Choose the data connectrivity mode:
-
Import - loads all data and stores the information on disk. The data must be refreshed and reloaded in order to show data updates.
-
Direct Query - does not load data, but does live queries on the data. This means that data does not need to be refreshed and reloaded in order to show data updates.
Note
If you are using a very large dataset, importing all of the data may take a longer period of time.
-
-
If this is the first time connecting to this data source, select the authentication type and input your credentials when prompted. Then click Connect:
-
In the Navigator dialog, select the database tables you want, then either click Load to load the data or Transform Data to continue transforming the data.
Note
Your data source settings are saved once you connect. To modify them, select Transform Data > Data Source Settings.
Configuring Microsoft Power BI Gateway
Prerequisites:
-
Enure that the custom connector will work with Power BI Gateway.
-
Make sure that the ODBC DSN is created in the ODBC data sources in the System tab on the machine where Power BI Gateway is installed.
If you are using the internal SSH tunnel feature, the file known_hosts
needs to be located where the Power BI service account has access to it.
Note
This also applies to any file(s) that you might need to be able to establish a connection to your Amazon DocumentDB cluster, such as a certificate authority (CA) certificate file (pem file).