Register now to learn Fabric in free live sessions led by the best Microsoft experts. From Apr 16 to May 9, in English and Spanish.
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 an existing table (i.e. by copy-pasting the Advanced Editor code from the working table to the existing table), I get the error that the import is not supported by DirectQuery mode. Why might this be happening?
Solved! Go to Solution.
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
Hi @jublair,
Thank you for your update. As the issue is resolved now, I will close this thread.
Best Regards,
Qiuyun Yu
Yep - all good. Thanks!
Hi @jublair,
May I know if the issue is resolved now?
Best Regards,
Qiuyun Yu
Hi Qiuyun,
Thanks for the info! I'll consider another solution for DirectQuery.
Cheers,
Julian
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
Covering the world! 9:00-10:30 AM Sydney, 4:00-5:30 PM CET (Paris/Berlin), 7:00-8:30 PM Mexico City
Check out the April 2024 Power BI update to learn about new features.
User | Count |
---|---|
114 | |
99 | |
83 | |
70 | |
60 |
User | Count |
---|---|
150 | |
115 | |
104 | |
89 | |
65 |