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

Compete to become Power BI Data Viz World Champion! First round ends August 18th. Get started.

Reply
olimilo
Continued Contributor
Continued Contributor

Azure CosmosDB v2 Connector: data is showing error or no columns

I'm trying to load data from our Azure CosmosDB container but whenever I try to view a table column or try to expand it, it results in an error or is not loading any columns or doesn't load at all:

olimilo_0-1714978686444.png

 

Which is odd considering there should be data in there in this format:

[
    {
        "WebTrfId": "99999998_1_1_061838",
        "Fields": [
            {
                "FieldId": 7944,
                "FieldValue": "04/23/2024",
                "FieldDeleteValue": null,
                "ParentFieldReference": null,
                "ParentFieldName": null,
                "FieldName": "<p>Review_Date</p>7944",
                "VersionID": 10
            }
        ]
    }
]

 

Is there any way I can diagnose this or find the cause of the problem? I am able to pull the data using SQL but we were advised to use the Azure Cosmos DB v2 connector due to recent changes in the company.

1 ACCEPTED SOLUTION
Anonymous
Not applicable

Hi @olimilo,
Based on your description, the error you mentioned is caused by not having the correct columns in the data source or the column names do not match the column names in the data source. So first, make sure that your data source (Azure Cosmos DB container) does contain the required data. You can use SQL queries or other methods to verify that the data exists. Second, check that your code is correctly fetching the data from Azure Cosmos DB. In particular, make sure that the column names and field names you are using match the actual names in the database.
You can refer to this document for more information about Azure Cosmos DB v2.
Power Query Azure Cosmos DB v2 (Beta) - Power Query | Microsoft Learn

Best regards,

Albert He

 

If this post helps, then please consider Accept it as the solution to help the other members find it more quickly



View solution in original post

1 REPLY 1
Anonymous
Not applicable

Hi @olimilo,
Based on your description, the error you mentioned is caused by not having the correct columns in the data source or the column names do not match the column names in the data source. So first, make sure that your data source (Azure Cosmos DB container) does contain the required data. You can use SQL queries or other methods to verify that the data exists. Second, check that your code is correctly fetching the data from Azure Cosmos DB. In particular, make sure that the column names and field names you are using match the actual names in the database.
You can refer to this document for more information about Azure Cosmos DB v2.
Power Query Azure Cosmos DB v2 (Beta) - Power Query | Microsoft Learn

Best regards,

Albert He

 

If this post helps, then please consider Accept it as the solution to help the other members find it more quickly



Helpful resources

Announcements
August Power BI Update Carousel

Power BI Monthly Update - August 2025

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

August 2025 community update carousel

Fabric Community Update - August 2025

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