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

The Power BI Data Visualization World Championships is back! Get ahead of the game and start preparing now! Learn more

Reply
Anonymous
Not applicable

Velocity Chart from Azure DevOps API

I'm trying to re-create a velocity chart in Power BI from data in Azure Devops. I'd like it to be based on work item count instead of story points or estimates. Has anyone built something like this? I'm not sure where the best place is to get this info from. I found an article an article on LinkedIn by @ferryv but it is based on estimates on each work item. Thanks in advance for any help!

3 REPLIES 3
ferryv
Resolver II
Resolver II

It is. See also: https://learn.microsoft.com/en-us/azure/devops/report/extend-analytics/data-model-analytics-service?...

 

If you want to use it for multiple Azure DevOps organisations, this might help you:

https://www.linkedin.com/pulse/retrieve-data-from-multiple-azure-devops-microsoft-van-der-vorst/?tra...

Can also be used for a single org. 

 

To simplify this, you could also just use the oData route, see also: https://learn.microsoft.com/en-us/azure/devops/report/extend-analytics/analytics-recipes?view=azure-.... The workitemtype can be retrieved from this too.

ferryv
Resolver II
Resolver II

In order to do it by work item count, you need to change this measures in the article that sum up the estimate values to a measure that count the items in e.g. a sprint or area path. For instance, change:

 

Committed = CALCULATE(SUMX('DataSet','DataSet'[Estimate]),FILTER('DataSet','DataSet'[Area Path]='DataSet'[Area Path]))

to count the number of items. For instance, change it to:

 

Committed = CALCULATE(COUNTX('DataSet','DataSet'[Work Item Type]),FILTER('DataSet','DataSet'[Area Path]='DataSet'[Area Path]))

 Similarly for the "Average Velocity" measure.

 

Hope this helps.

Anonymous
Not applicable

Thanks @ferryv! What is the best table to pull this type information WorkItemSnapshot?

Helpful resources

Announcements
Power BI DataViz World Championships

Power BI Dataviz World Championships

The Power BI Data Visualization World Championships is back! Get ahead of the game and start preparing now!

November Power BI Update Carousel

Power BI Monthly Update - November 2025

Check out the November 2025 Power BI update to learn about new features.

FabCon Atlanta 2026 carousel

FabCon Atlanta 2026

Join us at FabCon Atlanta, March 16-20, for the ultimate Fabric, Power BI, AI and SQL community-led event. Save $200 with code FABCOMM.