4 Sep’19

Power BIHow to embed Power BI Report in Python Web application

In this article, we will embed a Power BI report in a python web application. Following are the steps to embed a report.


  1. Go to Power BI web service and open the report that you want to embed in your web application, then click o the file menu and select the Embed option.
  2. The following window will pop up.
  3. Now copy the highlighted URL and save it somewhere you will need that URL later. Also copy the iframe tag in your web application’s front end logic. You can also adjust the height and width of the iframe.

  4. Now open the .py file where your routs are set. Now copy the highlighted URL and assigned it to one variable as shown below.

  5. Now remove the URL of iframe and replace it with the variable in the following way. you have to enter your Power BI credentials.

  6. The final output will look like this.Hope this helps.
Written by

Aditya Somwanshi

Software Engineer

Leave a Reply

Your email address will not be published. Required fields are marked *

Want to streamline your business processes?

  • This field is for validation purposes and should be left unchanged.

Recent Articles

  • Introduction to Microsoft Dynamics Commerce Tools

    19 October’ 2019

    As we know, Dynamics 365 Commerce is released in the preview version, So in this blog, we will have a quick explanation ...

    Read more
  • Error Handling Approaches for Integration

    16 October’ 2019

    Introduction: Handling Errors is a best practice in Integration when integrating to keep a track of the Errors that occu...

    Read more
  • Change in URLs for Business Central Tenants

    16 October’ 2019

    Change in base URLs for Business Central SaaS Tenants. I have noticed the Business Central links for Tenants have chan...

    Read more
  • Record Deletion Tool in Business Central

    16 October’ 2019

    Introduction: After a successful Go-Live in Business Central, we somehow need to delete a record from Backend. There is...

    Read more
  • Error “A reference to ‘xyz ‘ is required to compile this module” solution

    10 October’ 2019

    Many of the time while building project/solution we came across the “reference is required to compile this module ...

    Read more
  • We respect your privacy.
  • This field is for validation purposes and should be left unchanged.