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

Jian 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

Johan 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

Jian 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

GilbertoCrespo 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

Bing Wu 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

Eudis Lanconi Fo. 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

JT 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

Chris Drumgoole 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

Rahul Sabharwal 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

Hugo Rodrigues on 05 Jul 2020 22:33:13

RE: Allow printing from power bi embedded

Any idea on when will this feature be made available?