How to embed Power BI Report in Python Web application | CloudFronts

How 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.

Share Story :

By continuing to use the site, you agree to the use of cookies. more information

The cookie settings on this website are set to "allow cookies" to give you the best browsing experience possible. If you continue to use this website without changing your cookie settings or you click "Accept" below then you are consenting to this.