Find everything you need to get certified on Fabric—skills challenges, live sessions, exam prep, role guidance, and a 50 percent discount on exams.
Get startedEarn a 50% discount on the DP-600 certification exam by completing the Fabric 30 Days to Learn It challenge.
I have an embedded report in a website. I would like to be able to copy the current page as an image.
I have tried enabling "Export reports as image files (Preview)" in the Admin portal Tenant settings, but the option does not appear.
I tried using the JavaScript library Html2Canvas, but it won't work because the report is in an Iframe.
I read the Power BI API documentation, but couldn't anything to do that.
Has anyone gotten this working for a report embedded in a website?
Thanks,
Tim
We do not have an Embedded SKU on Gen2 yet, but we probably will once we move to production. The export method looks possible, but would take some effort to get working on a website. We have decided to use the Windows Snip tool instead. Thank for your reply.
Hi @td48260 ,
If you don't have Premium or Embedded capacity,You can only take screenshots or copy visual as workaround.
https://docs.microsoft.com/en-us/power-bi/visuals/power-bi-visualization-copy-paste
To use this API,please be aware that, both the report and the dataset of the report you are exporting, must reside on a Premium or Embedded capacity.
Best Regards,
Liang
If this post helps, then please consider Accept it as the solution to help the other members find it more quickly.
Do you have an Embedded SKU on Gen2? Then it should work with PNG images inside ZIP files.
Export Power BI embedded analytics reports API - Power BI | Microsoft Docs