Is it possible to embed Power BI reports in the HTML body? I'm trying to create a PDF file with the report embedded using the PDF() function, but the report does not appear in the final file

Is it possible to embed Power BI reports in the HTML body? I'm trying to create a PDF file with the report embedded using the PDF() function, but the report does not appear in the final file
Hi @Faden417
I don't think that you can print to pdf the Power BI report present in HTML body because the Power BI report and its components are not really inside your sreen.
You are just using an iframe to display the tile.
A solution in yout case could be to take a screenshot of the current screen where the power bi repor is visible and put the whole image as part of the HTML.
Bellow you can get more information about taking screenshots of the current screen and how to integrate it in HTML.
https://powerusers.microsoft.com/t5/Building-Power-Apps/Take-screenshot-of-the-current-PowerApp-screen/td-p/1807577
Regards.