![]() |
VOOZH | about |
This guide explains everything you need to get started with the CData Power BI Connector for MongoDB. You'll learn how to install and license the connector, configure your first connection, and explore next steps for working with MongoDB data in your applications.
Accessing and integrating live data from MongoDB has never been easier with CData. Customers rely on CData connectivity to:
MongoDB's flexibility means that it can be used as a transactional, operational, or analytical database. That means CData customers use our solutions to integrate their business data with MongoDB or integrate their MongoDB data with their data warehouse (or both). Customers also leverage our live connectivity options to analyze and report on MongoDB directly from their preferred tools, like Power BI and Tableau.
For more details on MongoDB use case and how CData enhances your MongoDB experience, check out our blog post: The Top 10 Real-World MongoDB Use Cases You Should Know in 2024.
The CData Power BI Connector for MongoDB enables Power BI Desktop and the Power BI On-premises Data Gateway to connect directly to live MongoDB data. This section details installation prerequisites, platform support, connector deployment, and licensing requirements.
The connector is supported in environments where Microsoft Power BI Desktop and Power BI Gateway are available. Because these components are Windows-only, the Power BI Connector is supported exclusively on Windows platforms.
Microsoft Visual C++ 2015-2022 Redistributable (installed automatically if not already present).
Note: If you are running a trial, select the Trial Key option.
You should have received your license key via email from the CData Orders Team. The license key looks like this: XXXX-XXXX-XXXX-XXXX-XXXX
Your license will typically be activated during installation. However, there are cases where you may need to activate it manually. The steps below walk you through manual activation for the Power BI Connector:
Yes, depending on your subscription tier. Check your order confirmation or contact your account representative for details. If you are unsure of who your account representative is, contact [email protected].
Email [email protected] with your order number, and we'll resend your license key.
Yes. When transferring the license to a different machine, you will need to submit a License Transfer Request on our site linked below:
https://www.cdata.com/lic/transfer/
After the License Transfer Request is submitted and successfully processed, an activation will be added to your Product Key, and you will be able to activate the full license on the other machine. Once this process is finished, the license on the previous machine will be invalid.
For additional licensing questions, contact [email protected]. Viewing and upgrading your license can now be done through our self-service portal at portal.cdata.com.
Once your driver is installed and licensed, you're ready to configure a connection to MongoDB. The CData Power BI Connector for MongoDB is built on top of an ODBC driver, so it uses a DSN (Data Source Name) to store connection properties.
Note: CData Power BI connectors use the 64-bit version.
Set the Server, Database, User, and Password connection properties to connect to MongoDB. To access MongoDB collections as tables you can use automatic schema discovery or write your own schema definitions. Schemas are defined in .rsd files, which have a simple format. You can also execute free-form queries that are not tied to the schema.
๐ Configure the MongoDB DSN.Solution: Verify your credentials are current. For OAuth applications, you may need to authorize CData in your application's security settings. Contact [email protected] for authorization assistance.
Solution: Check firewall & proxy settings. Contact [email protected] for specific port requirements.
Solution: Verify database and schema names. Use the Data Model tab in the DSN configuration to browse available tables.
For additional connection troubleshooting, contact [email protected] with your specific error message.
Now that you have installed, licensed, and configured the driver, here are some scenarios you can use to explore our Power BI Connectors:
| Power BI | Article Title |
|---|---|
| Power BI Desktop | Author Power BI Reports on Real-Time MongoDB |
Yes. Administrator rights are required to install the CData Power BI Connector because the installer writes to system directories and registers required components.
No. Power BI Desktop is 64-bit only, and all CData Power BI Connectors are distributed as 64-bit only MSI installers.
If you need assistance at any point:
System DSNs are available to all users on a machine and are required when using the Power BI On-premises Data Gateway. User DSNs are only available to the Windows user who created them and are suitable for local Power BI Desktop use.
Yes. The underlying ODBC driver supports DSN-less connection strings, and Power BI can use DSN-less configuration when connecting through the ODBC connector.
Example:
Driver={CData Power BI Connector for MongoDB};User=Value1;Password=Value2;SecurityToken=Value3;
(Exact properties depend on your MongoDB authentication method.)
Create separate DSNs, one for each MongoDB account, or create separate connection entries inside Power BI using different authentication credentials. Each DSN or connection stores its own settings.
Yes. Proxy settings can be configured in the connection properties of your DSN or through the connector's Advanced Settings in Power BI.
Refer to the Firewall & Proxy section of the documentation for required properties and supported proxy scenarios.
Check the following:
Logging can be enabled through the connector's advanced connection properties in Power BI Desktop.
In the connection dialog:
Be prepared to upload the log file when contacting [email protected] for analysis securely.
Most MongoDB connections require outbound HTTPS (port 443) access. Ensure your firewall allows outbound secure traffic to MongoDB endpoints.
For environments using proxies or additional security layers, consult the Firewall & Proxy section of the connector documentation.
No. The CData Power BI Connector cannot be used in Linux containers because:
The Power BI Connector is a Windows-only component.
Refer to the SQL Compliance section of the MongoDB connector documentation. Note that available SQL features may differ between Import and DirectQuery mode due to Power BI engine limitations.
CData releases major updates to the Power BI Connector annually, with periodic maintenance updates as needed.
Check your CData Account Portal or contact [email protected] for the latest version.
Refer to the Power BI Getting Started and Examples sections in the help documentation.
(Note: Power BI connectors do not use programming-language code samples like ODBC or JDBC drivers.)
For questions not covered in this FAQ, contact [email protected].
Download a free trial of the MongoDB Power BI Connector to get started:
Download NowLearn more:
๐ MongoDB IconThe fastest and easiest way to connect Power BI to MongoDB data. Includes comprehensive high-performance data access, real-time integration, extensive metadata discovery, and robust SQL-92 support.