title | titleSuffix | description | ms.assetid | ms.technology | ms.topic | ms.author | author | monikerRange | ms.date |
---|---|---|---|---|---|---|---|---|---|
Power BI integration and supported connections methods |
Azure DevOps |
Learn about the different integration options you can use to connect to Power BI to access Analytics for Azure DevOps. |
8026A5ED-CD58-417A-913F-72A20272E7DC |
devops-analytics |
overview |
kaelli |
KathrynEE |
>=azure-devops-2019 |
10/05/2021 |
[!INCLUDE version-gt-eq-2019]
With Azure DevOps, you can create dashboards and add widgets to them. Azure DevOps also provides several reports in the product itself. Both dashboards and in-line reports offer easy access to Azure DevOps Analytics to enable data-driven decisions. However, we concede that customers often need more than what is provided in the product.
With Power BI, you can pull data from Analytics, generate reports, and customize them to meet your needs. Power BI is a suite of business analytics tools. Use it to do impromptu analysis, produce beautiful reports, and publish for enterprise consumption.
[!INCLUDE temp]
Before you get started using Power BI to work with Analytics, make sure you've completed the following steps:
::: moniker range="azure-devops"
- Install the Power BI Desktop October 2018 Update or a newer version. You can download it from the official Power BI Desktop download page.
- Configure the permissions required to access Analytics.
- Review the knowledge base of Power BI articles.
- If you aren't familiar with Analytics, read "What is Analytics" before continuing.
::: moniker-end
::: moniker range=">= azure-devops-2019 < azure-devops"
- Install the Power BI Desktop October 2018 Update or a newer version. You can download it from the official Power BI Desktop download page.
- Verify that Analytics is installed, and if not, then enable it. You must be an account owner or a member of the Project Collection Administrators group to add extensions or enable the service.
- Configure the permissions required to access Analytics.
- Review the knowledge base of Power BI articles.
- If you aren't familiar with Analytics, read "What is Analytics" before continuing.
::: moniker-end
You can pull data from Analytics into Power BI in one of three ways. It's important to understand each method, before choosing.
Note
OData (Open Data Protocol) is an ISO/IEC approved, OASIS standard that defines a set of best practices for building and consuming REST APIs. To learn more, see OData documentation.
:::row::: :::column span="1"::: Connection Option :::column-end::: :::column span="1"::: Description :::column-end::: :::column span="2"::: Considerations :::column-end::: :::row-end::: :::row::: :::column span="1"::: Connect using the OData queries :::column-end::: :::column span="1"::: Power BI can execute OData queries. OData queries are powerful and can filter and aggregate data before returning it to Power BI. :::column-end::: :::column span="2"::: This is the recommended method, except for simpler reports on Boards data. It requires you to write OData queries, which is similar to writing SQL queries. Fortunately, we provide several sample reports to help you get started. :::column-end::: :::row-end::: :::row::: :::column span="1"::: Connect using the Azure DevOps Data Connector :::column-end::: :::column span="1"::: The Azure DevOps Data connector works with Analytics views. To access Analytics views, you must enable the feature as described in Enable preview features :::column-end::: :::column span="2"::: This connector only works with Boards data (work items) and doesn't support other data types, such as Pipelines. It provides a flat-list of work items, and doesn't support work item hierarchies. At this point, we have no plans to update the connector to support other types of data. We recommend using OData queries unless you have a simpler report on Boards data. :::column-end::: :::row-end::: :::row::: :::column span="1"::: Connect using the Power BI's OData Feed connector :::column-end::: :::column span="1"::: Power BI provides an OData Feed connector that allows you to connect to and browse the Analytic's OData endpoint. It's the typical way Power BI interacts with OData feeds. You can browse and select the entities and use its Query Editor to filter the dataset. :::column-end::: :::column span="2"::: Only use this method if you have a small account. This method doesn't support server-side query folding. All filters are applied client-side. All the data is pulled into Power BI before applying the filters. If you have a small account, it may work fine for you. However, if you have a large account, then you'll likely experience long refresh times and timeouts. :::column-end::: :::row-end:::
- Active bugs report
- Get a count of work items
- Add a last refresh date
- Filter on teams
- Calculate time-in-state for an existing Analytics view
To get started using OData queries in Power BI reports, see Overview of sample reports using OData queries
For specific examples, see one of the following articles:
Azure Boards reports | Azure Test Plans reports |
---|---|
[!INCLUDE temp] | [!INCLUDE temp] |