Forum Discussion

jaypi's avatar
jaypi
Frequent Visitor
7 years ago

Print multiple reports from powerbi embedded

I have an MVC Application built using the Power BI Embedded Javascript which has multiple tabs embedding multiple reports. The report.print only allows printing one of the reports within 1 tab, what is the mechanism to print all the pages embedded in all the tabs.

 

The window.print function zooms in the report and is unreadable.

2 Replies

  • v-jiascu-msft's avatar
    v-jiascu-msft
    Microsoft Employee

    Hi jaypi,

     

    As we can see from the source code of powerbi.js#L3947, I'm afraid it only prints the active page. The workaround could be traversing all the pages and printing them one by one. Please also refer to the live demo.

    >>>/**
    * Prints the active page of the report by invoking `window.print()` on the embed iframe component.
    */

    Print_multiple_reports_from_powerbi_embedded

     

    Best Regards,

    Dale

    • jaypi's avatar
      jaypi
      Frequent Visitor
      That is sub optimal, expectation is to have a single PDF with all reports. Also sending to a printer 10 pages individually seems 20 years old approach...