This time we’re going bigger than ever. Fabric, Power BI, SQL, AI and more. We're covering it all. You won't want to miss it.
Learn moreLevel up your Power BI skills this month - build one visual each week and tell better stories with data! Get started
My application displays a Power BI report from my workspace via the Power BI Embedded API. My user has clicked an element of a bar chart visualization, which automatically filters the data on the other visualizations accordingly. Now, she wants to export that filtered view to a PDF. I've seen the code examples for doing an export to file, but that seems to imply just exporting the base report from the workspace. How do I export the current view of the report, as filtered by the user?
Solved! Go to Solution.
Hi @erosal84,
Perhaps you can take a look at power bi javascript api that use javascript to extract data from the current report and visauls:
PowerBI-JavaScript/wiki/Export-Data
Regards,
Xiaoxin Sheng
I´m having the same issue when exporting a power bi embedded report to pdf. Even though I capture the current state of the report as a bookmark using the javascript sdk and then pass the bookmark state to the backend when exporting the report it only get exported in its initial state, meaning that when users interact with the report and the report data changes, those changes are not reflected in the exported file. Did you find a solution?
Hi @erosal84,
Perhaps you can take a look at power bi javascript api that use javascript to extract data from the current report and visauls:
PowerBI-JavaScript/wiki/Export-Data
Regards,
Xiaoxin Sheng
@dm-p Is this something you do?
Hey @Greg_Deckler - no, I have no experience with embedded, unfortunately. Sorry 😞
Proud to be a Super User!
On how to ask a technical question, if you really want an answer (courtesy of SQLBI)
@dm-p No worries, thought I would ask!
Check out the April 2026 Power BI update to learn about new features.
Sign up to receive a private message when registration opens and key events begin.
If you have recently started exploring Fabric, we'd love to hear how it's going. Your feedback can help with product improvements.
| User | Count |
|---|---|
| 4 | |
| 2 | |
| 2 | |
| 1 | |
| 1 |