Embed Power BI reports for analytics
Applies to: Home health, Care management
Microsoft Cloud for Healthcare provides sample reports to support Home health and Care management scenarios that you can embed in your apps.
Access and deploy the Power BI dashboard templates
At the end of the deployment of Home health or Care management, more configuration options will be shown. One or more are for Microsoft Power BI dashboard. Select the link provided to configure the Power BI dashboards.
Publish your report to the web. More information: Publish to web from Power BI
Copy the embed code for the Power BI report after publishing it to the web.
Embed the Power BI report in Home health or Care management
To use the Power BI reports in the context of Home health and Care management, you need to embed the Power BI report.
The following dashboards are designed for these apps:
App name | Dashboard |
---|---|
Care management | Care management Analytics |
Care Team Member | Patient Analytics |
Home health | Patient Analytics Provider Analytics |
Below are the high-level steps on how to embed the Power BI dashboards. More information can be found here: Embed a Power BI report in a model-driven system form
Microsoft Cloud for Healthcare offers three dashboards in Power BI. Take the following steps to bring them into your apps:
Create a new solution. More information: How to create a solution
In Power Apps, when creating the solution, select Add existing, and then select App > Model-driven app.
From the list of apps, select the appropriate app, such as Care management, Care Team Member, or Home health, and then select Add.
Create dashboards in the new solution based on what you want to embed. More information: How to create a dashboard
Once created, add an Iframe in the upper-left component. Paste the embed code of your Power BI report in the URL field.
Ensure that Pass record object-type code and unique identifier as parameters is not selected.
Ensure that Restrict cross-frame scripting, where supported is not selected.
Adjust the size of the Iframe to take up the width and height of the dashboard.
Repeat the above steps for each dashboard that you want to embed.
The solution should now contain three model-driven apps and three dashboards.
Customize the site map for the Microsoft Cloud for Healthcare apps to include the Power BI dashboards.
In the solution that you created, select the app that you want to add the dashboard to (for example, Care management).
In the App Designer, in the Dashboards area, select Dashboards.
On the Components tab, select the dashboard that you previously created.
Select Save And Close.