Reputation: 2273
I have embedded a power bi report into my website. I want to implement save to pdf or print feature in it. Is there any way to implement these features?
Upvotes: 4
Views: 6346
Reputation: 1997
My suggestion is to use the Power BI API to embed your report and then use javascript to launch the print dialog. window.print();
Out of the box there is no button inside Power BI that export your report as a PDF as is.
On the Power BI Service, you have the possibility to export your report in PowerPoint, but the exported data are single static jpg of your report, e.g. no interaction is possible.
Here on GitHub you can find how to interact with PowerBI via javascript Embedding Basics
Hope that helps!
Upvotes: 2