Skip to main content
Showing results for 
Search instead for 
Did you mean: 

Find everything you need to get certified on Fabric—skills challenges, live sessions, exam prep, role guidance, and more. Get started

Regular Visitor

MongoDB Atlas SQL

I have been trying to connect to MongoDB to query clusters, I did create an atlas connection and selected the PowerBI Connector driver for me to query the database and get data into a dataflow service on powerbi Online. I have the correct credentails but I get this error everytime I try to connect. The URL and Database are all correct, the username and password are all correct.


But the feedback is always Missing Client Library for datasource

Screenshot 2023-09-25 093746.png

Regular Visitor

Hi @v-tangjie-msft 

I am actually using the cloud service to connect therefore it is not powerBI desktop I am using. Do I need to install the driver regardless? 

Community Support
Community Support

Hi @Bnemoh ,


The error message "Missing Client Library for datasource" typically indicates that the required MongoDB driver is not installed on your machine. To resolve this issue, you need to install the MongoDB ODBC driver on your machine. You can download the driver from the official MongoDB website. Once you have downloaded and installed the driver, you should be able to connect to your MongoDB database using the Power BI Connector driver. Additionally, make sure that you have the correct version of the MongoDB ODBC driver installed that is compatible with your version of Power BI. You can check the compatibility requirements on the Power BI website or in the documentation for the MongoDB ODBC driver.


You can refer to the following post that may be helpful to you:

How to resolve MongoDB client library missing issue? | Bold BI Support


Best Regards,

Neeko Tang

If this post  helps, then please consider Accept it as the solution  to help the other members find it more quickly. 

Thank you for the help. Now i have connected my powerBI to MongoDB atlas.

Helpful resources

Europe Fabric Conference

Europe’s largest Microsoft Fabric Community Conference

Join the community in Stockholm for expert Microsoft Fabric learning including a very exciting keynote from Arun Ulag, Corporate Vice President, Azure Data.

Power BI Carousel June 2024

Power BI Monthly Update - June 2024

Check out the June 2024 Power BI update to learn about new features.


Fabric Community Update - June 2024

Get the latest Fabric updates from Build 2024, key Skills Challenge voucher deadlines, top blogs, forum posts, and product ideas.

Top Solution Authors