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

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.

Reply
Anonymous
Not applicable

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
v-juanli-msft
Community Support
Community Support

Hi @Anonymous 

Please refer to this link.

 

Best Regards

Maggie

View solution in original post

1 REPLY 1
v-juanli-msft
Community Support
Community Support

Hi @Anonymous 

Please refer to this link.

 

Best Regards

Maggie

Helpful resources

Announcements
Microsoft Fabric Learn Together

Microsoft Fabric Learn Together

Covering the world! 9:00-10:30 AM Sydney, 4:00-5:30 PM CET (Paris/Berlin), 7:00-8:30 PM Mexico City

PBI_APRIL_CAROUSEL1

Power BI Monthly Update - April 2024

Check out the April 2024 Power BI update to learn about new features.

April Fabric Community Update

Fabric Community Update - April 2024

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