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
jonathan-levy
New Member

workitem parent parent

Hi

 

I'm trying to get the grand parent of a work item in VSTS. So I want to get the epic work item from a user story but it's giving me this error:

 

The query specified in the URI is not valid. 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

 

Any idea how I can solve it? I've seen the comments here (https://docs.microsoft.com/en-us/vsts/report/extend-analytics/odata-query-guidelines) but I can't make sense of it.

 

Thanks

1 REPLY 1
v-yuezhe-msft
Employee
Employee

@jonathan-levy,

Which URL do you put in the ODATA entry of Power BI Desktop? As stated in the article you mentioned, it is recommended that you use explicit entity addressing. There is an example below.

https://{account}.analytics.visualstudio.com/_odata/v1.0/WorkItems?
  $filter=WorkItemId eq {id}
  &$select=WorkItemId, Title



Regards,
Lydia

Community Support Team _ Lydia Zhang
If this post helps, then please consider Accept it as the solution to help the other members find it more quickly.

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.

Top Solution Authors