1
votes

I am trying the Power BI with the tutorial: https://docs.microsoft.com/en-us/azure/cosmos-db/powerbi-visualize#prerequisites

Trying to connect to the demo DB (URL: https://analytics.documents.azure.com) I get the error: Details: "The specified database was not found."

2

2 Answers

3
votes

The workaround is to start with an empty query and enter the formula manually:

let
    Source = DocumentDB.Contents("https://analytics.documents.azure.com", null, null)
in
    Source

Results:

results

0
votes

I am having the same issue. BUT, I found a workaround to get connected to my Cosmos DB from Power BI Desktop using "Microsoft Azure Cosmos DB ODBC driver" for windows.

Reference article on odbc driver: link.