Project for the Web Accelerator Integration - Add Power BI to the Accelerator

  • Updated

A Power BI template can be deployed alongside the Accelerator. Deploy the Power BI template after the OnePlan Accelerator.

Prerequisites

  • An environment with Project for the web and the Project Accelerator in it.

  • Admin rights to the environment.

  • The appropriate privileges to deploy the Power BI content pack to powerbi.com.

Deploy the Power BI Template

  1. Download the Power BI template for the Accelerator.

  2. Deploy it using Power BI Desktop or in the PowerBI.com service.

  3. When prompted for the environment URL, use the base URL of your environment. For example: https://myenvironment.crm.dynamics.com.

Important

When you deploy the report, ensure that your team will have access to it. Learn more about sharing in Power BI.

Modify the Project Accelerator

Prerequisites

  1. Power BI report has been deployed to PowerBI.com.

  2. A customized solution has been created to include the changes. To create a solution please review Create a solution.

The Report menu currently points at a web resource file containing HTML with instructions on how to get the Power BI Template with theAccelerator. Since the Accelerator is managed, the web resource cannot be edited. There are two options to have the report bring up the Power BI report:

Updating the report menu via Power BI embedded report

  1. Sign into powerapps.com.

  2. Select the environment containing the Accelerator.

  3. Select solutions > the customized solution > Edit.

  4. Select the Objects option.

  5. New > Dashboard > Power BI embedded.

    Project_for_the_Web_Accelerator_PowerBI_PowerApps.png
  6. Give the report a name and choose the workspace/report and save.

    Project_for_the_Web_Accelerator_POwerBI_NewPowerBI.png
  7. If not already added, add the site map to the custom solution.

    1. Add existing > more > Site Map.

    2. Choose Project – msdyn_ProjectServiceCore.

    3. Click Add.

  8. Select the site map and click Edit.

  9. Select the Reports option under Reporting.

    1. Select Type = Dashboard.

    2. Default Dashboard = choose the report from the drop down.

    3. Click Save and close.

    Project_for_the_Web_Accelerator_PowerBI_Properties.png
  10. Click Publish.

  11. Go back to the Project app and click Report.

  12. The report will now show up along other reports in the environment.

    Project_for_the_Web_Accelerator_PowerBI_Report1.png

Updating the Report Menu via Web Resource (full frame)

The Accelerator already contains a placeholder for the Power BI template. Once you've deployed the Accelerator and the Power BI template, follow these steps to have the Power BI report appear in the Accelerator.

  1. Once you have deployed the Power BI template, open the report in PowerBI.com.

  2. Select the file > Embed Report > Website or portal.

    Project_for_the_Web_Accelerator_PowerBI_OpenReport.png
  3. Copy the link in the top box ("Here's a link you can use to embed content") and keep it handy.

    Project_for_the_Web_Accelerator_PowerBI_EmbedURL.png
  4. Sign into Power Apps.

  5. Select the environment containing the Accelerator.

  6. Select Solutions > the customized solution > Edit.

  7. Select the Objects option.

  8. New > more > Web resource.

  9. Set the fields as follows:

    • Display Name: Accelerator Power BI report

    • Name: Accelerator_report

    • Type: Webpage HTML

  10. Create a new html file to upload with the follow text. Update the “REPLACE THIS” with the embedded string copied in step 3.

    <html> 
        <head>
        </head>    
        <body onfocusout="parent.setEmailRange();" style="overflow-wrap: break-word;">      
            <iframe width="100%" height="100%" src="REPLACE THIS" frameborder="0" allowfullscreen="true"></iframe>   
        </body> 
    </html>
  11. Press Ok to save the changes and close the dialog.

  12. If not already added, add the site map to the custom solution.

    1. Add existing > more > Site Map.

    2. Choose Projectmsdyn_ProjectServiceCore

    3. Click Add.

  13. Select the site map and click Edit.

  14. Select the Reports option under Reporting.

    1. Select Type = Web Resource.

    2. URL = Accelerator Power BI report.

    3. Click Save and close.

    Project_for_the_Web_Accelerator_PowerBI_Properties2.png
  15. Click Publish.

  16. Go back to the Project app and click Report.

  17. The report will now show up taking up the entire section.

    Project_for_the_Web_Accelerator_PowerBI_Report2.png

Was this article helpful?

0 out of 0 found this helpful

Have more questions? Submit a request