Forum Discussion

ElectricWizard's avatar
ElectricWizard
Frequent Visitor
8 years ago
Solved

Calculate hours worked per day by team using TFS data

Hello, I've been asked to create a report using data from TFS that shows the hours worked per team per day. I guess it should use the same data that TFS uses to generate the Sprint burndown chart.  ...
  • arsaveli's avatar
    arsaveli
    8 years ago

    WorkItemSnapshot table available via VSTS Analytics OData contains state of fields at the end of each day, so it could be used to track down trend of each day. The easiest way is to just chart aggregate of your field per team - the chart will show the trend (if you actually need a diff between each day, you'll need to write some DAX).

     

    See https://docs.microsoft.com/en-us/vsts/report/extend-analytics/querying-for-trend-data?view=vsts

    Please note that you should aggregate using odata syntax (per article) - not in powerbi. Aggregating in powerbi may result in too much data and slow query.

     

    Note that the Analytics service is currently only available on VSTS (hosted product), not TFS (on-premise product)