Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

How to export power bi embedded report to pdf using mvc c#

I have embedded a power bi online report into my MVC C# application and its rendering properly. Further I am trying to export it into PDF, but didn't find a way to do it. I have tried jsPDF and Cavas2html, but that didn't work. Is there any possibility to do it using any other tools?

like image 516
Vishnu Chandel Avatar asked Apr 21 '18 14:04

Vishnu Chandel


People also ask

How do I export contents of a Power BI report to a PDF?

Export to PDF from Power BI DesktopIn Desktop, select File > Export > Export to PDF. Report pages that are currently not visible, such as any tooltips or hidden pages, are not exported to the PDF file. While the export is being processed, a dialog appears that lets you know that the export process is underway.

How do I export from Power BI automatically?

In Choose an operation, search for Power BI and select Export to File for Power BI Reports. In Export to File for Power BI Reports, select a Workspace and Report from the dropdowns. Select the desired Export Format for your Power BI report. Optionally, indicate specific pages to export in the Pages pageName -1 field.


1 Answers

Microsoft just released the functionality we're looking for! Apparrently we can call a power bi report and export it as a PDF programmatically. https://powerbi.microsoft.com/en-us/blog/export-report-to-pdf-pptx-and-png-files-using-power-bi-rest-api/

like image 174
Mike Murphy Avatar answered Sep 28 '22 00:09

Mike Murphy