Forum Discussion
jublair
7 years agoRegular Visitor
Cosmos DB connector does not work on DirectQuery when updating data source
We currently have a table in PBI connected to Spark that we're looking to change to Cosmos DB. While I can successfully connect to Cosmos DB for a new table, when I run the exact same connection on a...
- 7 years ago
Hi jublair,
Please check if you previously connect to Spark in DirectQuery mode. From this document, you can see Cosmos DB is not supported in DirectQuery mode. If Spark data source is using DirectQuery mode, please change it to Import mode, then copy and paste the Power Query for Cosmos DB.
Best Regards,
Qiuyun Yu - 7 years ago
Yep - all good. Thanks!
v-qiuyu-msft
7 years agoCommunity Support
Hi jublair,
Please check if you previously connect to Spark in DirectQuery mode. From this document, you can see Cosmos DB is not supported in DirectQuery mode. If Spark data source is using DirectQuery mode, please change it to Import mode, then copy and paste the Power Query for Cosmos DB.
Best Regards,
Qiuyun Yu