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

Join us for an expert-led overview of the tools and concepts you'll need to become a Certified Power BI Data Analyst and pass exam PL-300. Register now.

Reply
adrianVE278
Frequent Visitor

Connect Power BI / data federation Mongo DB and MongoDB Atlas SQL connector beta)

I am trying to connect my power bi desktop to a Mongo DB federated database instance.

I followed the previous steps for it, in summary:

* I have a user in mongo atlas with readAnyDatabases permission.

* start my federated cluster, in this case read from another mongoDb cluster (not from AWS S3 service)

* install the mongod db atlas ODBC connector ( atlas sql odbc 0.1.4)

* I have my connection URL with the name of the federated database (everything is fine with it)

It can even connect my deferred cluster with Monngo Compass (visualizing the data successfully) so I assume that all the configuration, mentioned above is correct.

however when I connect via Power BI (using the URI of the mongoDB federated database and the database name) the data I get in data transform has a "strange" format where I only see the ids and some other data , but not as such the data that I need to read from the collection added to the federated database.

Am I missing something in the configuration, or has someone else been able to perform this task without any problem.

 

Here is an image of what the loaded data looks like, however it is not the data contained in the database at all

 

adrianVE278_0-1685980724884.png

 

1 ACCEPTED SOLUTION
adrianVE278
Frequent Visitor

The problem has been solved since I wrote, what happens is that the preview of the collection looks like the photo in the original post, however, when loading the data to transform it (or just loading it), it looks like the attached photo . But, it loads the subdocuments as objects literally as opposed to tables linked by _id as it does or to the MongoBI connector when it loads successfully.

adrianVE278_1-1686576880133.png

 

View solution in original post

4 REPLIES 4
Anonymous
Not applicable

Is there a way to transform this data in PowerBI to a table-like data?

adrianVE278
Frequent Visitor

The problem has been solved since I wrote, what happens is that the preview of the collection looks like the photo in the original post, however, when loading the data to transform it (or just loading it), it looks like the attached photo . But, it loads the subdocuments as objects literally as opposed to tables linked by _id as it does or to the MongoBI connector when it loads successfully.

adrianVE278_1-1686576880133.png

 

Anonymous
Not applicable

Hi @adrianVE278,

The data connector should design based on data source api to getting data. So these result fields may be different from the common table that you visited in the data source. (they may include some logic and flag field that be used in backend processing or other type of operations)

Regards,
Xiaoxin Sheng

Anonymous
Not applicable

Is there a way to transform this data in PowerBI to a table-like data rather an object? Getting the same issue loading from MongoDB via MongoDB Atlas connector

Helpful resources

Announcements
July PBI25 Carousel

Power BI Monthly Update - July 2025

Check out the July 2025 Power BI update to learn about new features.

Join our Fabric User Panel

Join our Fabric User Panel

This is your chance to engage directly with the engineering team behind Fabric and Power BI. Share your experiences and shape the future.

June 2025 community update carousel

Fabric Community Update - June 2025

Find out what's new and trending in the Fabric community.