Show Azure DevOps Task / Sprint Statistics on SharePoint (PowerApps) - sharepoint

I want to show KPIs (Key Performance Indicator) on my SharePoint. My Datasource will be my TFS (Azure DevOps). For example showing the planned and finished Tasks for a Sprint on SharePoint and generate a graph out of it.
I saw that in Microsoft PowerApps - which are integrateable in my SharePoint-View - there are DevOps-Connectors, but i didnt rly saw a possibility to aggregate my task-statistics (planned / finished in a sprint) and show them.
Solution
Writing a C#-Backend that has a TFS-Client running.
Can I use this for a Power-App-CustomConnector?
Is there another way to acess data in a PowerApp from a REST-API?
Worst Case the Backend will have shedule to create and update SharePoint-Tables with my TFS-Stats
What is the best way to aggregate and show my tfs (azure devOps) statistics on my sharepoint page?

I'd recommend using Power BI, I use it for my Azure DevOps KPIs. You should be able to embed your Power BI reports within SharePoint easily. Power BI has ready-made connectors for aggregating work item data via the new Analytics Views preview feature. You'll want to start by enabling it within your Preview Features:
Once you have the feature enabled, create an analytics view that aggregates the data you'll use in Power BI (or use a default view):
Creating an Analytics View: https://learn.microsoft.com/en-us/azure/devops/report/powerbi/analytics-views-create?view=azure-devops
After that, go ahead and open Power BI to connect to your Analytics View and start composing your KPI dashboard:
Create a Power BI report with a default Analytics view: https://learn.microsoft.com/en-us/azure/devops/report/powerbi/create-quick-report?view=azure-devops
After you've finished your report, embed it within SharePoint:
Power BI - Embed a Report in SharePoint: https://learn.microsoft.com/en-us/power-bi/collaborate-share/service-embed-report-spo

Related

Importing Azure DevOps Work Item attachments to PBI

I am currently working on a project that involves using Azure DevOps as the main management tool. However, our team has decided to analyze the data generated in the platform through Power BI reports. As such, there are some attachments in the work items that we would like to see displayed in PBI, is there any way to do this?
There are multiple ways to connect to the powerbi to devops and get the work item data. Such as by using analytical view, oData queries and oData feed, etc.
To Create power bi reports using analytical view first you have to import data in the power bi, this can be done by selecting azure devops as an option in the Online service tab which itself is in the get data tab in the powerbi destop app
getdata -> online options -> azure devops
After that it will ask you for organization and team and ask you to login to your devops account too.
After this a popup will immerge and in which you can select the work items data based upon the duration time which has passed such today, last 30 days, entire history, etc.
Refer the following documentation

Data entry for power bi report without additional direct query database

Goal:
Integrate power apps with power bi (vica verse) without setting up a SQL database for direct query to allow data input of internal tables to power bi report.
The database we are reading from cannot be used for data entry purposes.
E.g. there is a business process whereby a client must track the location of each asset. This is done by creating a table of a distinct id of each asset and then a data entry drop down is applied so users can update the location of each asset which is updated in the report visuals.
Resources:
https://www.google.com/search?q=integrate+power+bi+and+power+apps+direct+quert&oq=integrate+power+bi...
https://powerusers.microsoft.com/t5/Building-Power-Apps/Filtering-data-in-PowerApps-based-on-Power-B...
https://learn.microsoft.com/en-us/powerapps/maker/canvas-apps/powerapps-custom-visual
Solution attempt 1: creating a sharepoint list to store user entry results. An app was created and embedded within PowerBI, however the power bi report did filter results to the app. Likewise results were not immediately shown in the PowerBi report. SharePoint does not have a direct query function, and is limited to 8 refreshes a day + it could not be refreshed through the web browser, only by scheduled refreshes.
Attempted solution 2: using internal PowerBI datasets. Accessing the data from PowerBI datasets inside of powerapps seemed to be read only. Is this the case?
Question for the forum: how do you create data entry for a powerbi report without setting up another database to store results.

Power BI Report Builder - SharePoint as data source

Is it possible to use Power BI Report Builder to connect to a SharePoint list?
It seems that it was possible to do that with the old SSRS Report Builder - link.
I would like to Build a SSRS-like report with Power BI using different SharePoint lists as Data Sources. I tried to use the Power BI Desktop app to build a report but I couldn't matrix/tables/sections repetitions.
In the latest update(July 2019) of Power BI Report Builder, you can use NON-PREMIUM datasets from Power BI Service as a data-source for Report Builder.
So you can simply create a Dashboard in Power BI desktop from any SharePoint list and publish it in your work-space. To create a dataset from a SharePoint list, go to Get Data > Online Services > SharePoint online list and add fill in the details. Then Publish your dashboard in your workspace.
Once that is done, you can use that dataset in your report builder.
Check the image below:
Note: You can also Schedule a Refresh on your dataset so that your data is up-to-date.
Get data->More, you could find SharePoint Online List option.

Power BI Rest Api Dataset in Power Bi Desktop

I successfully managed to connect a java application to Power BI REST API and managed to create a dataset and added some data.
I can view this data from Power BI web interface, make reports, graph etc.
Is it possible to connect Power BI Desktop to this datasets and create custom reports from there?
I'm asking this because the desktop application seems to be more complete. You can edit column names, merge tables, etc. all things that are not available in the web application.
Thanks all for the help.
The Power BI Desktop does not support connecting to real-time data sets in the Power BI service at this time.
Could you submit this as a request to https://ideas.powerbi.com?
It is possible to use REST API Dataset in Power Bi Desktop since April 2017 and it worked for me in the latest version of Power BI Desktop.
But even though you can create reports based on datasets from Power BI Service, you still cannot edit column names, merge tables, etc.
The features is called Power BI service Live connection.
To establish a connection to the published report, and create your own report based on the published dataset, select Get Data from the Home ribbon in Power BI Desktop, and select Power BI service. You can also select it from Get Data > Online Services > Power BI service.
After the report is finished, you can publish your report by selecting Publish from the Home ribbon in Power BI Desktop.
More details on Power BI documentation page.

PowerBI hierarchy creation without the cloud

Right now we can create hierarchies in PowerPivot but I'm pretty sure I can't do it in PowerBI. I could create a Data Model in PowerPivot and use that for PowerBI I think. Is there any other work around that could be more desktop based?
Thanks!
Mike
You cannot create a hierarchy in the Power BI Dashboard Preview or in Power BI. If you want this feature I would encourage you to add it to the proposed feature list here: https://support.powerbi.com/forums/265200-power-bi or vote for the item if it already exists.
You can create hierarchies in Power Pivot and deploy the model to Power BI Preview but the hierarchies are not visible.

Resources