Skip to main content
cancel
Showing results for 
Search instead for 
Did you mean: 

July 7 - July 17 | Round 2 of the Power BI Dataviz World Championships. Don't miss your chance! Learn more

Reply
mohammadgazali
New Member

Export to PDF step by step with Example using Button in Power BI Embedded

Hi All ,

Please help me i already embedded report in my web app. want to create button to export to pdf. I have Licenece of A1 SKU. But where need to write that codes. i am refrencing this document. https://docs.microsoft.com/en-us/power-bi/developer/embedded/export-to#code-examples

 

But dont know where need to put sending,polling and getting code.

 

Thanks in Advance.

1 REPLY 1
Anonymous
Not applicable

Hi @mohammadgazali,

In fact, that link shares the processing the 'export to file' function required.
For your operations, you need to add them to your application backend processing and binding them with the button click events. (notice: you also need to write some additional steps to extract correspond parameters)
Regards,

Xiaoxin Sheng

Helpful resources

Announcements
FabCon and SQLCon Barcelona 2026

FabCon & SQLCon – Barcelona 2026

Join us in Barcelona for FabCon and SQLCon, the Fabric, Power BI, SQL, and AI community event. Save €200 with code FABCMTY200.

60 days of Data Days Carousel

Data Days 2026

Join Data Days 2026: 60 days of free live/on-demand sessions, challenges, study groups, and certification opportunities.

Power BI DataViz World Championships carousel

Power BI DataViz World Championships - June 2026

A new Power BI DataViz World Championship is coming this June! Don't miss out on submitting your entry.