Forum Discussion

ronnoc's avatar
ronnoc
Advocate II
9 years ago
Solved

Print in powerBI embedded

Huge thank you to everyone who has provided helpful answers in previous posts.

 

As the feature has been requested and is still unavailable, I am looking for a workaround to achieve the capability of printing or creating pdf from report view within powerBI embedded reports. 

 

I was thinking of using a combination of js to pdf and html5 canvas to put the report view within an html canvas element and print to a pdf file. Although because the powerBI embedded sample runs within MVC .NET framework I am not sure where to put the canvas element tags to capture the powerBI embedded report container that is generated in html when the page loads. 

 

Here is an example of the function I want to use:

https://jsfiddle.net/mqrpnppj/

 

I am not sure if this approach will work but any responses are appreciated.

3 Replies