Skip to main content

Power BI

Completed

Allow printing from power bi embedded

Vote (111) Share
Paul's profile image

Paul on 20 Jul 2016 21:58:06

It would be great if the embedded report in my website can be printed (either printer or PDF) as we can from powerbi.com and maybe sending the current view by email would make it better.

Administrator on 12 Sep 2017 18:48:26

Thank you for your feedback. The 'Print report' feature is supported in Power BI Embedded. See here for more info- https://github.com/Microsoft/PowerBI-JavaScript/wiki/Embedding---Basic-interactions#print-a-report. For any issues you can find answers or ask questions in our forum- https://community.powerbi.com/t5/Developer/bd-p/Developer

Comments (23)
Paul's profile image Profile Picture

e2a7295c 3938-47a0-9b53-2e0a6f7d60e7 on 05 Jul 2020 22:59:02

RE: Allow printing from power bi embedded

Hi Team,

I dont think window.print () is a qualified solution for embedded report printing or export pdf, please review community's requirements and Definition of Done on printing feature.

reopen it if possible, thanks

Paul's profile image Profile Picture

2af2fbeb cfc3-4777-bee6-1766646ebf71 on 05 Jul 2020 22:58:59

RE: Allow printing from power bi embedded

How can you possibly set the status to Completed when this has existed for quite a while now and the feature does not work. It simply does a window.print () in the embedded iframe, sure that is a print function but it is not scaling correctly.

Paul's profile image Profile Picture

e2a7295c 3938-47a0-9b53-2e0a6f7d60e7 on 05 Jul 2020 22:58:13

RE: Allow printing from power bi embedded

GilbertoCrespo, current javascript lib can only support simple window.print () inside of iframe, which can not print out full report view. I still expect Power Bi JS team bring some better solution for embed report printing(like multiple page print, full report print)

Paul's profile image Profile Picture

d7a1a668 ae36-4606-8d35-19303bad5dab on 05 Jul 2020 22:57:18

RE: Allow printing from power bi embedded

Have you already tried this code to do it? I use this on my code and works very well:

Call this javascript function from button or simple link:

function printContent () {
var embedContainer = $('#reportContainer')[0];
report = powerbi.get(embedContainer);
report .print () ;
}

Paul's profile image Profile Picture

5d8caa27 9dc0-426e-be34-754d77643472 on 05 Jul 2020 22:50:53

RE: Allow printing from power bi embedded

This is an extremely important feature.

We have a product in which reports can be printed to pre-configured printers. When embedding Power BI in our product, if reports can be saved as PDF, then PDF can be sent to pre-configured printers to print. If not, pre-configured printers can't be used at all thus causing backward compatibility issues.

Therefore, without the feature, it would be really hard for us to adopt Power BI.

Paul's profile image Profile Picture

59dc3f96 bc15-44d1-99b2-e29c24873054 on 05 Jul 2020 22:48:45

RE: Allow printing from power bi embedded

this feature is very important, to send the embedded report as pdf to e-mail, mainly in the executive reports, which use to have the strategic indicators by email weekly. Any expectation about the release date?

Paul's profile image Profile Picture

0adfafaf 4b0b-4990-a5d3-16a69bb35268 on 05 Jul 2020 22:39:13

RE: Allow printing from power bi embedded

My Company feeds a Gantt Chart to a Power BI Dashboard from Enterprise Server. The senior management team want a 'portfolio on a page' view which we have created in a Dashboard. However, we can't print the whole portfolio as there is a date axis along the top and the number of projects forces a scroll bar. Can we have the functionality to print the whole data set, not just what is available on what is scrolled?

Paul's profile image Profile Picture

18864060 6cd7-4757-aef3-7dbe06a25291 on 05 Jul 2020 22:34:54

RE: Allow printing from power bi embedded

I see the Javascript SDK has a print feature as shown on the demo URL at https://microsoft.github.io/PowerBI-JavaScript/demo/index.html, but this is not a great print output as it just merely takes a screenshot and prints - if the report requires scrolling (which many will) then this won't be a good solution. Hope a more native print (or export to PDF or something) will come.

Paul's profile image Profile Picture

42d367ab 5357-4e4c-a48a-1db87ac2e658 on 05 Jul 2020 22:34:39

RE: Allow printing from power bi embedded

critical feature for any typical business usage scenario for power bi embedded. please suggest by when can this be made available. thanks,

Paul's profile image Profile Picture

beb15b03 da5b-462a-aa97-c20da2b664d4 on 05 Jul 2020 22:33:13

RE: Allow printing from power bi embedded

Any idea on when will this feature be made available?