Forum Discussion
Exporting Power BI embedded report or visual to PDF using Node JS
i got power bi report embedded to webpage. we received requirement from client to export/download single or multiple visuals from this embedded report to either pdf or png.
I am looking for any node js solution to this problem. As, ideally i have to bind visual downloading with a button on this web page from where user can download report/visual.
i have found this solution but its in c#
https://learn.microsoft.com/en-us/power-bi/developer/embedded/export-to
further, there is no proper procedure written for binding visual export/visual with any button
3 Replies
- AnonymousNot applicable
HI husnainnourose,
You can take a look at the following blog about node js sdk with power bi embed if it helps with your requirement:
Power BI Embedded SDK for Node JS | Microsoft Power BI Blog | Microsoft Power BI
Regards,
Xiaoxin Sheng
- husnainnouroseHelper I
its deprecated i guess
as export to file API is a rest API so can it be integrated with other languages also ?
or for now its just for C# as mentioned in sample code?- AnonymousNot applicable
Hi husnainnourose,
>>or for now its just for C# as mentioned in sample code?
Obviously, the Rest API should not limit the usage of programming languages. I check on the npm and find the power bi client package, you can try it if helps:
powerbi-client - npm (npmjs.com)
Regards,
Xiaoxin Sheng