{"id":10912,"date":"2016-01-11T01:26:54","date_gmt":"2016-01-11T01:26:54","guid":{"rendered":"https:\/\/blogs.msdn.microsoft.com\/visualstudioalm\/2016\/01\/11\/announcing-reporting-capabilities-for-visual-studio-team-services\/"},"modified":"2022-08-03T00:05:58","modified_gmt":"2022-08-03T08:05:58","slug":"announcing-reporting-capabilities-for-visual-studio-team-services","status":"publish","type":"post","link":"https:\/\/devblogs.microsoft.com\/devops\/announcing-reporting-capabilities-for-visual-studio-team-services\/","title":{"rendered":"Announcing Reporting Capabilities for Visual Studio Team Services"},"content":{"rendered":"<hr \/>\n<p>Reporting has always been a <a href=\"http:\/\/blogs.msdn.com\/b\/bharry\/archive\/2013\/09\/09\/team-foundation-service-update-sept-9.aspx\">cornerstone of TFS<\/a>.\u00a0 By bringing together diverse data about your team\u2019s software process, you are able to see relationships and gain insights on your process, and ultimately, take action to improve it.\u00a0 Since 2010, the on-premises TFS product has enabled different reporting options through <a href=\"https:\/\/msdn.microsoft.com\/Library\/vs\/alm\/Report\/overview#excel-reports\">Excel reports<\/a>, <a href=\"https:\/\/msdn.microsoft.com\/Library\/vs\/alm\/Report\/overview#sql-reports\">SQL Server Reporting Services Reports<\/a>, and <a href=\"https:\/\/msdn.microsoft.com\/Library\/vs\/alm\/Report\/overview#sharepoint-dashboards\">SharePoint Dashboards<\/a>.\u00a0 We then brought <a href=\"https:\/\/msdn.microsoft.com\/en-us\/Library\/vs\/alm\/Report\/charts\">light-weight charts<\/a> and the new <a href=\"https:\/\/msdn.microsoft.com\/en-us\/Library\/vs\/alm\/Report\/dashboards\">dashboards<\/a> feature inside both TFS and Visual Studio Team Services to bring to life a simple, yet powerful way to visualize your data.\u00a0 Our cloud reporting experience started with the <a href=\"https:\/\/www.visualstudio.com\/en-us\/get-started\/report\/connect-vso-pbi-vs\">Power BI Visual Studio Team Services Connector<\/a> and we aren\u2019t stopping there.<\/p>\n<p>Today, I\u2019m announcing that advanced reporting capabilities are coming soon to VS Team Services.\u00a0 You\u2019ll be able to stay tuned through the \u201cfeatures under development\u201d section on our <a href=\"https:\/\/www.visualstudio.com\/en-us\/news\/release-archive-vso\">features timeline<\/a>.\u00a0 We think of the new reporting service as the beginning of an analytics service \u2013 our vision is to unlock analytics over your data and surface insights in an simple and meaningful way to drive action.\u00a0 The reporting experience will be available first in VS Team Services, and eventually replace the existing on-premises TFS data reporting warehouse.<\/p>\n<p><strong>Custom reporting capabilities<\/strong><\/p>\n<p>The public preview of the cloud reporting experience will enable custom reporting over your VS Team Services data.\u00a0 The service is backed by SQL Server and uses the Open Data Protocol v4.\u00a0 It is architected and built to be fast, performant, and scalable.\u00a0<\/p>\n<p>You\u2019ll have the full power of OData available to you, including aggregation extensions.\u00a0 You\u2019ll also be able to use data analytics tools like Excel, Power BI, Tableau, or even the <a href=\"http:\/\/www.eclipse.org\/birt\/about\/\">Business Intelligence and Reporting Tools (BIRT)<\/a> in Eclipse to mashup data from multiple sources and create powerful visualizations of your data.\u00a0 And since it\u2019s OData, there are a number of other ways to access data \u2013 programmatically with .NET or Java, or via direct URL queries in the browser.\u00a0 It\u2019ll also be possible to build a VS Team Services <a href=\"https:\/\/msdn.microsoft.com\/en-us\/Library\/vs\/alm\/Report\/dashboards\">dashboard widget<\/a> or <a href=\"https:\/\/www.visualstudio.com\/integrate\/extensions\/overview\">extension<\/a> using the data service.<\/p>\n<p>Let me give you an example.\u00a0 Let\u2019s say I wanted to get the sum of all remaining work in my account.\u00a0 With the on-prem TFS reporting options, that would not be an easy number to get.\u00a0 With the new reporting service, I can construct a direct URL and use aggregation extensions to easily return that value using the query below:<\/p>\n<p><code>&lt;a href=\"https:\/\/[collection\"&gt;https:\/\/[collection&lt;\/a&gt; name].analytics.visualstudio.com\/DefaultCollection\/_odata\/WorkItems?$apply=aggregate(RemainingWork with sum as SumOfRemainingWork)<\/code><\/p>\n<p>To grab all work items and then group them by type, I can use the <code>groupby<\/code> clause and the following query:<\/p>\n<p><code>&lt;a href=\"https:\/\/[collection\"&gt;https:\/\/[collection&lt;\/a&gt; name].analytics.visualstudio.com\/DefaultCollection\/_odata<\/code>\/<font face=\"Courier New\">WorkItems?$apply=groupby((WorkItemType), aggregate(Count with sum as Count))<\/font><\/p>\n<p>Now let\u2019s take the result of that query and bring it in to Power BI.\u00a0 Using the treemap visualization you now have a view of all the work items we have in <em>mseng<\/em>, the VS Team Services account that we use to build VS Team Services and TFS.<\/p>\n<p><img decoding=\"async\" title=\"image\" style=\"border-left-width: 0px;border-right-width: 0px;border-bottom-width: 0px;padding-top: 0px;padding-left: 0px;padding-right: 0px;border-top-width: 0px\" border=\"0\" alt=\"image\" src=\"https:\/\/devblogs.microsoft.com\/devops\/wp-content\/uploads\/sites\/6\/2016\/01\/3581.image_thumb_0E0FC2D7.png\" width=\"581\" height=\"334\" \/><\/p>\n<p><!--EndFragment--><\/p>\n<p><strong>Work Item Data<\/strong><\/p>\n<p>The first type of data available will be work item data, followed by version control, test, build, and release data.\u00a0<\/p>\n<p>There will be a number of new capabilities that you can report on that weren\u2019t available previously, such as:<\/p>\n<ul>\n<li>Velocity with both estimated and actual values<\/li>\n<li>Capacity across teams and projects<\/li>\n<li>Filter data by teams (i.e. Give me all the work items for Team X)<\/li>\n<li>Kanban data and metrics (i.e. median days in state, lead time, and cycle time)<\/li>\n<li>Trend and rollup data<\/li>\n<li>Tags<\/li>\n<\/ul>\n<p>The schema below shows you the richness in the current data model we have for work items.\u00a0 Keep in mind that this isn\u2019t comprehensive, but an early look at what\u2019s there.<\/p>\n<p><img decoding=\"async\" title=\"image\" style=\"border-left-width: 0px;border-right-width: 0px;border-bottom-width: 0px;padding-top: 0px;padding-left: 0px;padding-right: 0px;border-top-width: 0px\" border=\"0\" alt=\"image\" src=\"https:\/\/devblogs.microsoft.com\/devops\/wp-content\/uploads\/sites\/6\/2016\/01\/6327.image_thumb_0BD5CACC.png\" width=\"550\" height=\"440\" \/><\/p>\n<p>We expect to have a public preview of our cloud reporting experience for work item data for your Visual Studio Team Services accounts in Q3 of 2016.<\/p>\n<p>Thanks!<\/p>\n<p>Karen Ng, reach me on twitter @<a href=\"https:\/\/twitter.com\/karenkayliu\">karenkayliu<\/a><\/p>\n","protected":false},"excerpt":{"rendered":"<p>Reporting has always been a cornerstone of TFS.\u00a0 By bringing together diverse data about your team\u2019s software process, you are able to see relationships and gain insights on your process, and ultimately, take action to improve it.\u00a0 Since 2010, the on-premises TFS product has enabled different reporting options through Excel reports, SQL Server Reporting Services [&hellip;]<\/p>\n","protected":false},"author":185,"featured_media":45953,"comment_status":"open","ping_status":"closed","sticky":false,"template":"","format":"standard","meta":{"_acf_changed":false,"footnotes":""},"categories":[1],"tags":[],"class_list":["post-10912","post","type-post","status-publish","format-standard","has-post-thumbnail","hentry","category-devops"],"acf":[],"blog_post_summary":"<p>Reporting has always been a cornerstone of TFS.\u00a0 By bringing together diverse data about your team\u2019s software process, you are able to see relationships and gain insights on your process, and ultimately, take action to improve it.\u00a0 Since 2010, the on-premises TFS product has enabled different reporting options through Excel reports, SQL Server Reporting Services [&hellip;]<\/p>\n","_links":{"self":[{"href":"https:\/\/devblogs.microsoft.com\/devops\/wp-json\/wp\/v2\/posts\/10912","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/devblogs.microsoft.com\/devops\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/devblogs.microsoft.com\/devops\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/devblogs.microsoft.com\/devops\/wp-json\/wp\/v2\/users\/185"}],"replies":[{"embeddable":true,"href":"https:\/\/devblogs.microsoft.com\/devops\/wp-json\/wp\/v2\/comments?post=10912"}],"version-history":[{"count":0,"href":"https:\/\/devblogs.microsoft.com\/devops\/wp-json\/wp\/v2\/posts\/10912\/revisions"}],"wp:featuredmedia":[{"embeddable":true,"href":"https:\/\/devblogs.microsoft.com\/devops\/wp-json\/wp\/v2\/media\/45953"}],"wp:attachment":[{"href":"https:\/\/devblogs.microsoft.com\/devops\/wp-json\/wp\/v2\/media?parent=10912"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/devblogs.microsoft.com\/devops\/wp-json\/wp\/v2\/categories?post=10912"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/devblogs.microsoft.com\/devops\/wp-json\/wp\/v2\/tags?post=10912"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}