Trigger an Azure Function from Power BI - azure

We are using Power BI Embedded to display data which is coming from Cosmos Db. We have to try the following thing
Display a Bar chart with an aggregated value
Display the detailed table based on the Bar chart.
Have a checkbox in the table (there is a GUID). Select multiple GUIDs and on a click this will trigger an Azure Function and send the GUID as an input to the function.
We are able to perform #1 and #2. Is it possible to achieve functionality #3 using Power BI Embedded.

I think you can do this by integrating with Power Automate. See this article: https://learn.microsoft.com/en-us/power-bi/create-reports/power-bi-automate-visual?tabs=powerbi-desktop
Create a Flow with a HTTP connector that can trigger your Azure function
Connect this Flow to the Power Automate visualization in Power BI
The Flow should be able to accept contextual data upon triggering, e.g. this GUID, to pass on to the Azure function. You assign the GUID column (or measure that calculates the selected GUID) to the Power Automate visual.

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

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

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

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 - Can we load ROLES and their associated DAX filter expressions from some EXCEL File?

Hello,
I got a question about the way we create ROLES in Power BI desktop. The manual ROLES creation process is really hack-tic and time consuming. I want to ask if there is any way to create/load Power BI ROLES with their DAX filter expressions from some EXCEL file ?
for reference i am attaching following img
The only way to create the roles is via the interface at this time. There is no functionality via the API, or by reading the contents/updating inside of the PBIX file (which contains xml, json and other formats).
There is a vote for this functionality on the Power BI Ideas site, and a Power BI Designer API here.

Power BI Embedded Incremental Refresh

You can't use incremental refresh in Power BI Embedded. Is there an alternative to incrementally refresh your data in Power BI Embedded? And what about Power BI Embedding?
Microsoft POWER BI refresh the data only can do using two methods in-app power bi (web). If refreshed data in power Bi then automatically reflect in Power BI Embedded report. How many ways data can refresh points are given below please read this.
Manual refresh
Refresh Scheduler
Go on your https://app.powerbi.com/groups/me/list/reports and click on action column on the 4th icon click on that after that on popup will be open
scheduler image icon
then click on the 3rd icon refresh, it will refresh your data manual.
The second method is quite long actually and to understand this you can visit this link. Try now
How To Configure Schedule Refresh In Power BI Reports? - Loginworks Softwares Pvt. Ltd.
Thanks.
Yes you can according to the info provided, please see below and if it helps:
Step 1: In Power BI desktop, select table where you have applied custom filters and go to its context menu.
Step 2: Select an Incremental Refresh option that will pop up an Incremental Refresh window: Select an Incremental refresh table (where you have applied custom filters). Create rows storage policy.

Resources