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.
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.
Solved! Go to Solution.
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 |
---|---|
111 | |
100 | |
80 | |
64 | |
58 |
User | Count |
---|---|
146 | |
110 | |
93 | |
84 | |
67 |