Analytics View with Power BI

Lang Hsieh's avatarPosted by
  • Here is the URL for you to create your own Analytics Views.

http://<YourServerName>/<YourCollectionName>/<YourProjectName>/_analytics

 

  • There are some out-of-box view you can start using as well.

Snag_4064b4f.png

 

  • You’ll need permissions to create, edit, and delete those views.

Snag_40c1f21.png

 

  • To get data from those views, please select “Azure DevOps Server (Beta)” from “Online Service”

Snag_41456d4.png

 

  • Then provide the collection URL and Team Project name

 

  • Then Select view(s) to load

Snag_415dc3c.png

 

  • After that, you can start drag and drop and slice and dice your data.

Snag_4171e03.png

 

 

  • For example, for an Open Bugs report, you can use the following query

let

   Source = OData.Feed (“http://<YourServerName>/<YourCollectionName>/<YourProjectName>/_odata/v1.0/WorkItems?&#8221;

        &”$filter=WorkItemType eq ‘Bug’ “

            &”and StateCategory ne ‘Completed’ “

            &”and startswith(Area/AreaPath,'<YourAreaPath>’) “

        &”&$select=WorkItemId,Title,WorkItemType,State,Severity,AreaSK “

        &”&$expand=AssignedTo($select=UserName),Iteration($select=IterationPath),Area($select=AreaPath) “

    ,null, [Implementation=”2.0″,OmitValues = ODataOmitValues.Nulls,ODataVersion = 4])

in

    Source

 

  • Then you have a matrix for Open Bugs

Snag_41a3516.png

 

Hope this can help.

Leave a comment