Embedding Power BI Dashboard & Report inside Microsoft Dynamics 365 CE

In the previous article, we saw how to quickly create Power BI Report, in this article we will learn about embedding or displaying those reports (and dashboard) inside Dynamics 365.

  • 1. Login to Power BI Desktop and open the Power BI Report created and click on Publish.
    article
  • 2. Save the report (if not already saved) and publish it to My Workspace as a destination.
    article
  • 3. After Successful publish, open the Power BI report in Power BI Home
    article
  • 4. Inside Power BI Home, select File → Publish to Web. This will publish the report to the internet and will be accessible to anyone having the URL.
    article
  • 5. Open the URL in the browser and the report will be accessible without the need of any credential.
    article
    article
  • 6. Using this URL, we can easily embed the Power BI report inside the IFrame component of Dynamics 365 CE Dashboard or as a Web Resource.
  • 7. Now let us make use of native integration capabilities of Power BI within Dynamics 365 CE.
  • 8. For this, we will create a Power BI Dashboard and add our existing report to it. For this inside the Power BI Report, select Pin Visual and select create a New Dashboard Option and click Pin.
    article
    article
  • 9. This creates a new dashboard and adds the selected report to it.

    article
  • 10. Now back in Dynamics 365 CE, let us enable Power BI integration. Go to Settings → Administration → System Settings

    article

    Enable the Power BI Visualization Embedding option.

    article
  • 11. Go to Dashboard and click on New → Power BI Dashboard

    article
  • 12. Select the Workspace – My workspace and the Dashboard.

    article
  • 13. The Power BI Dashboard inside Dynamics 365

    article
  • 14. Now, what if we want to share the Power BI Dashboard with other users so that they can also create their Personal Power BI Dashboard inside Dynamics 365 tools. Go back to Power BI home, and click on Share.

    article
  • 15. We will get the message that Power BI Pro License is required for sharing the report. Click on Try Pro for free to acquire the license. This will be free 60 Day trial.

    article
  • 16. Once the trial is activated, we can share the report with another user, who can then create a new Power BI Dashboard inside Dynamics 365 CE using this shared report.

    article
  • 17. Apart from the Dashboard, the Power BI Report can also be embedded inside the normal Dynamics 365 CE Dashboard as a Power BI Tile.

    article
  • 18. One last point that we need to remember is regarding the Refresh of the data, so that end users are looking at the most up-to-date data. It can be done manually by selecting the DataSet for the report and clicking on Refresh Now as shown below.

    article
  • 19. The other option is to schedule the refresh by selecting Schedule Refresh option, now as we have enabled the Power BI Pro license we can schedule the refresh to run a maximum of 8 times a day, unlike Power BI Premium. (Which allows 48 times a day)

    article

    Thus we saw how easy it is to author a Dynamics 365 CE Power BI Report which is highly interactive and highly customizable in few steps and without writing any single of code and easily embed it within Dynamics 365 CE.

Read More: