How can you integrate a Powerapps in Power BI to interact with your data, what are the possibilities? And Why would you want to integrate them in Power BI? Power BI is an amazing tool to visualize your data, but if you want to take actions depending on your data, PowerApps comes in handy. For example, you can email clients depending on your filter criteria in Power BI, or update the data of a given customer, all in your Power BI dashboard. Or if you want to work the other way around, you can select an item in your PowerApps gallery and Power BI will filter it’s data accordingly. In this blog we’ll guide you through the process of setting up your first PowerApps integration in Power BI.
First of all: We need to import the PowerApps custom visual in Power BI:
Open your Power BI report, in the ribbon click ‘Home’ > Custom visuals: ‘From Marketplace’
In the marketplace search for the PowerApps visual and click ‘Add’ to install it in your report.
After installing the PowerApps visual, we need to publish our report to Power BI, otherwise the PowerApps integration won’t work properly.
In the ribbon select ‘Home’ > Share: ‘Publish’, choose your workspace and click ‘Select’. After you have published the report, go to https://app.Power BI.com select your workspace and open your report. Then click ‘Edit report’.
Now, add the PowerApps visual to your report, by clicking on the PowerApps icon in your set of visualizations.
Before you create the PowerApps itself, you need to add the data fields you want to use in the PowerApps, in this case I would like the CustomerKey, Customer Name, Email and the Customer Image. It’s important to know that your PowerApps will only have access to the values you add to the PowerApps Data.
After you have selected the PowerApps Data fields, the PowerApps visual will ask you to choose an existing App or to create a new one. In this case we will create a new one.
A new PowerApps will open with a Power BIIntegration component, a Screen and a Gallery with some components. Note that the Gallery automatically imports the ‘Power BIIntegration Data’, or all the all the fields you have selected in Power BI.
In the Properties of the Gallery you can change the layout of the gallery and select the fields that will represent the data. After you have selected the layout that fits best for your application, click on ‘Edit’ next to ‘Fields’.
In the Edit Fields window you can select which component should display which data field that you passed through in Power BI.
When you are finished creating the PowerApps you can save and publish your app. Refresh your Report in Power BI and the PowerApps should be integrated! The items in PowerApps will change accordingly to the filters that you apply in Power BI.
Now the possibilities are (almost) endless:
Examples:
A list off all the customers:
Or filter Customers:
Send an Email to a specific customer:
Update a customers’ information:
Note: If you want to refresh your visuals in Power BI after you have updated the data in PowerApps, use the statement: Power BIIntegration.Refresh() after your Patch() statement in PowerApps.
© 2023 Kohera
Crafted by
© 2022 Kohera
Crafted by
Cookie | Duration | Description |
---|---|---|
ARRAffinity | session | ARRAffinity cookie is set by Azure app service, and allows the service to choose the right instance established by a user to deliver subsequent requests made by that user. |
ARRAffinitySameSite | session | This cookie is set by Windows Azure cloud, and is used for load balancing to make sure the visitor page requests are routed to the same server in any browsing session. |
cookielawinfo-checkbox-advertisement | 1 year | Set by the GDPR Cookie Consent plugin, this cookie records the user consent for the cookies in the "Advertisement" category. |
cookielawinfo-checkbox-analytics | 11 months | This cookie is set by GDPR Cookie Consent plugin. The cookie is used to store the user consent for the cookies in the category "Analytics". |
cookielawinfo-checkbox-functional | 11 months | The cookie is set by GDPR cookie consent to record the user consent for the cookies in the category "Functional". |
cookielawinfo-checkbox-necessary | 11 months | This cookie is set by GDPR Cookie Consent plugin. The cookies is used to store the user consent for the cookies in the category "Necessary". |
cookielawinfo-checkbox-others | 11 months | This cookie is set by GDPR Cookie Consent plugin. The cookie is used to store the user consent for the cookies in the category "Other. |
cookielawinfo-checkbox-performance | 11 months | This cookie is set by GDPR Cookie Consent plugin. The cookie is used to store the user consent for the cookies in the category "Performance". |
CookieLawInfoConsent | 1 year | CookieYes sets this cookie to record the default button state of the corresponding category and the status of CCPA. It works only in coordination with the primary cookie. |
elementor | never | The website's WordPress theme uses this cookie. It allows the website owner to implement or change the website's content in real-time. |
viewed_cookie_policy | 11 months | The cookie is set by the GDPR Cookie Consent plugin and is used to store whether or not user has consented to the use of cookies. It does not store any personal data. |
Cookie | Duration | Description |
---|---|---|
__cf_bm | 30 minutes | Cloudflare set the cookie to support Cloudflare Bot Management. |
pll_language | 1 year | Polylang sets this cookie to remember the language the user selects when returning to the website and get the language information when unavailable in another way. |
Cookie | Duration | Description |
---|---|---|
_ga | 1 year 1 month 4 days | Google Analytics sets this cookie to calculate visitor, session and campaign data and track site usage for the site's analytics report. The cookie stores information anonymously and assigns a randomly generated number to recognise unique visitors. |
_ga_* | 1 year 1 month 4 days | Google Analytics sets this cookie to store and count page views. |
_gat_gtag_UA_* | 1 minute | Google Analytics sets this cookie to store a unique user ID. |
_gid | 1 day | Google Analytics sets this cookie to store information on how visitors use a website while also creating an analytics report of the website's performance. Some of the collected data includes the number of visitors, their source, and the pages they visit anonymously. |
ai_session | 30 minutes | This is a unique anonymous session identifier cookie set by Microsoft Application Insights software to gather statistical usage and telemetry data for apps built on the Azure cloud platform. |
CONSENT | 2 years | YouTube sets this cookie via embedded YouTube videos and registers anonymous statistical data. |
vuid | 1 year 1 month 4 days | Vimeo installs this cookie to collect tracking information by setting a unique ID to embed videos on the website. |
Cookie | Duration | Description |
---|---|---|
ai_user | 1 year | Microsoft Azure sets this cookie as a unique user identifier cookie, enabling counting of the number of users accessing the application over time. |
VISITOR_INFO1_LIVE | 5 months 27 days | YouTube sets this cookie to measure bandwidth, determining whether the user gets the new or old player interface. |
YSC | session | Youtube sets this cookie to track the views of embedded videos on Youtube pages. |
yt-remote-connected-devices | never | YouTube sets this cookie to store the user's video preferences using embedded YouTube videos. |
yt-remote-device-id | never | YouTube sets this cookie to store the user's video preferences using embedded YouTube videos. |
yt.innertube::nextId | never | YouTube sets this cookie to register a unique ID to store data on what videos from YouTube the user has seen. |
yt.innertube::requests | never | YouTube sets this cookie to register a unique ID to store data on what videos from YouTube the user has seen. |
Cookie | Duration | Description |
---|---|---|
WFESessionId | session | No description available. |