Join us at FabCon Atlanta from March 16 - 20, 2026, for the ultimate Fabric, Power BI, AI and SQL community-led event. Save $200 with code FABCOMM.
Register now!The Power BI Data Visualization World Championships is back! Get ahead of the game and start preparing now! Learn more
I am following this link:
Feature Progress rollup sample Power BI report - Azure DevOps | Microsoft Docs
The exampe query is this:
let Source = OData.Feed ("https://analytics.dev.azure.com/{organization}/{project}/_odata/v3.0-preview/WorkItems?" &"$filter=WorkItemType eq 'Feature' " &"and State ne 'Cut' " &"and startswith(Area/AreaPath,'{areapath}') " &"and Descendants/any()" &"&$select=WorkItemId,Title,Area,Iteration,AssignedTo,WorkItemType,State,AreaSK" &"&$expand=Descendants( " &"$apply=filter(WorkItemType eq 'User Story') " &"/groupby((StateCategory), " &"aggregate(StoryPoints with sum as TotalStoryPoints)) " &") " ,null, [Implementation="2.0",OmitValues = ODataOmitValues.Nulls,ODataVersion = 4]) in Source
Is it possible to add hours being spent on tasks/stories?
I got a sample code in my VS Code. NO matter what I do I only get this when I run it:
{"@odata.context":"https://analytics.dev.azure.com/My company name/my project name/_odata/v3.0-preview/$metadata#WorkItems(WorkItemId,Title,WorkItemType,State,CreatedDate)","value":[]}
No erros, nothing.
Solved! Go to Solution.
Hi @Markzolotoy ,
According to the official article description,Check the Prerequisites first:
And the OData query result set is in JSON format. To view the results, install the JSON Formatter extension for your browser. Several options are available for both Chrome and Microsoft Edge.
If the query has an error, the Analytics service returns an error in JSON format. For example, this error states that the query has selected a field that doesn't exist:
After you've verified that the query works correctly, you can run it from Power BI.
And you could try as the upper picture ,try to input part values for the columns ,and test what will output?
And you said ,is it possible to add hours being spent on tasks/stories?
What you mean,add a new column to record the time each task spended?
And you could test step by step as the below aritcle:
Did I answer your question? Mark my post as a solution!
Best Regards
Lucien
Hi @Markzolotoy ,
According to the official article description,Check the Prerequisites first:
And the OData query result set is in JSON format. To view the results, install the JSON Formatter extension for your browser. Several options are available for both Chrome and Microsoft Edge.
If the query has an error, the Analytics service returns an error in JSON format. For example, this error states that the query has selected a field that doesn't exist:
After you've verified that the query works correctly, you can run it from Power BI.
And you could try as the upper picture ,try to input part values for the columns ,and test what will output?
And you said ,is it possible to add hours being spent on tasks/stories?
What you mean,add a new column to record the time each task spended?
And you could test step by step as the below aritcle:
Did I answer your question? Mark my post as a solution!
Best Regards
Lucien
The Power BI Data Visualization World Championships is back! Get ahead of the game and start preparing now!
| User | Count |
|---|---|
| 39 | |
| 37 | |
| 33 | |
| 32 | |
| 29 |
| User | Count |
|---|---|
| 133 | |
| 88 | |
| 85 | |
| 68 | |
| 64 |