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

Get Fabric Certified for FREE during Fabric Data Days. Don't miss your chance! Learn more

Reply
PremK
Resolver I
Resolver I

DATA SOURCE ERROR With MongoDB || EMERGENCY

In MongoDB  i have 8 Collections  IN A DB named DEVELOPMENT. All Collections contains multiple documents and values. 

 

I had connected this DB  with PBI ( throug 2 methods - 1. Using  Get Data - MongoDB Atlas SQL ( Beta ) - Atlas SQL URL ,,||  2. Using Get Data - ODBC - Atlas SQL ODBC Drivers  )

 

While selecting the required Tables ( Collections ) from the DB,  Only some tables  ( 4 out of 8 Tables ) previews the Data Values in it But Other Tables showing error 

 

PremK_0-1715875056046.png

 

But  actually All the Tables have Data's in MongoDB  Data Base. i have no idea why the error is showing

I have tried multiple ways to resolve this error like - cleared Cahe,  in Data Source Setting Cleared All permissions and Reconnected Them,  But all my efforts gone waste.

 

Please guide me to Resolve this error and bring all the Table data's into PBI....

1 ACCEPTED SOLUTION
Anonymous
Not applicable

Hi @PremK 

 

As only some tables have this error, this is probably not a Power BI issue. I searched the error in MongoDB community and found some similar threads. This is likely an issue with the SQL Schema. This error occurs when there isn’t a sql schema created for your underlying collection/table. You need to regenerate the SQL Schema for these collections or for the whole federated database instance. Check out these instructions for more information: https://www.mongodb.com/docs/atlas/data-federation/query/sql/sqlgenerateschema/ 

59

 

Similar threads in MongoDB Community:

Power BI: DataSource.Error: The table has no visible columns and cannot be queried - MongoDB Atlas -...

MongoServerError: sqlGenerateSchema command not found - Working with Data / Connectors & Integration...

 

Best Regards,
Jing
If this post helps, please Accept it as Solution to help other members find it. Appreciate your Kudos!

View solution in original post

2 REPLIES 2
PremK
Resolver I
Resolver I

Really THANK YOU v-jingzhan-msft

Anonymous
Not applicable

Hi @PremK 

 

As only some tables have this error, this is probably not a Power BI issue. I searched the error in MongoDB community and found some similar threads. This is likely an issue with the SQL Schema. This error occurs when there isn’t a sql schema created for your underlying collection/table. You need to regenerate the SQL Schema for these collections or for the whole federated database instance. Check out these instructions for more information: https://www.mongodb.com/docs/atlas/data-federation/query/sql/sqlgenerateschema/ 

59

 

Similar threads in MongoDB Community:

Power BI: DataSource.Error: The table has no visible columns and cannot be queried - MongoDB Atlas -...

MongoServerError: sqlGenerateSchema command not found - Working with Data / Connectors & Integration...

 

Best Regards,
Jing
If this post helps, please Accept it as Solution to help other members find it. Appreciate your Kudos!

Helpful resources

Announcements
Fabric Data Days Carousel

Fabric Data Days

Advance your Data & AI career with 50 days of live learning, contests, hands-on challenges, study groups & certifications and more!

October Power BI Update Carousel

Power BI Monthly Update - October 2025

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

FabCon Atlanta 2026 carousel

FabCon Atlanta 2026

Join us at FabCon Atlanta, March 16-20, for the ultimate Fabric, Power BI, AI and SQL community-led event. Save $200 with code FABCOMM.

Top Kudoed Authors