cancel
Showing results for 
Search instead for 
Did you mean: 
Reply
Highlighted
tarente Visitor
Visitor

Error exporting data from DevOps OData to Power BI Desktop

Hi,

 

I need to exporting data from DevOps OData to Power BI Desktop, namely from WorkItems. However, I am not able to expand the table in Teams column. E.g., I get the following error:

«

DataSource.Error: OData: Request failed: The remote server returned an error: (400) Bad Request. (VS403483: The query specified in the URI is not valid: VS403489: The Analytics Service doesn't support key or property navigation like WorkItems(Id) or WorkItem(Id)/AssignedTo. If you getting that error in PowerBI, please, rewrite your query to avoid incorrect folding that causes N+1 problem..)
Details:
DataSourceKind=OData
DataSourcePath=https://analytics.dev.azure.com/<my-OrganizationName>/<my%20ProjectName>/_odata/v1.0/WorkItems(<WorkItemId>)/Teams
Url=https://analytics.dev.azure.com/<my-OrganizationName>/<my ProjectName>/_odata/v1.0/WorkItems(<WorkItemId>)/Teams

»

 

This is the M query that I have:

«

let
Source = OData.Feed("https://analytics.dev.azure.com/<my-OrganizationName>/<my%20ProjectName>/_odata/v1.0/WorkItems", null, [Implementation="2.0"]),
#"Expanded Teams" = Table.ExpandTableColumn(Source, "Teams", {"TeamName"}, {"Teams.TeamName"})
in
#"Expanded Teams"

».

 

According to this https://docs.microsoft.com/en-us/powerquery-m/table-expandtablecolumn it should work.

 

Do you think is that the Project Name as a space in the name?

The Project Name is "ABC v2", where ABC is something else.

 

Thanks in advance,

Tiago.

1 ACCEPTED SOLUTION

Accepted Solutions
Community Support Team
Community Support Team

Re: Error exporting data from DevOps OData to Power BI Desktop

Hi @tarente 

Please refer to this link.

 

Best Regards

Maggie

1 REPLY 1
Community Support Team
Community Support Team

Re: Error exporting data from DevOps OData to Power BI Desktop

Hi @tarente 

Please refer to this link.

 

Best Regards

Maggie