Join us at FabCon Atlanta from March 16 - 20, 2026, for the ultimate Fabric, Power BI, AI and SQL community-led event. Save $200 with code FABCOMM.
Register now!The Power BI Data Visualization World Championships is back! Get ahead of the game and start preparing now! Learn more
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
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?
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
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
The Power BI Data Visualization World Championships is back! Get ahead of the game and start preparing now!
Check out the November 2025 Power BI update to learn about new features.