Showing results for 
Search instead for 
Did you mean: 
Not applicable

Power Bi ExportToFile returns a pdf with nothing but the Power Bi logo when exporting with bookmarks


I'm currently working on exporting embedded reports through the use of Power Bi REST Api using the exportToFile endpoint. This has been working nicely however, the pdfs always return with the default look of the report regardless of what slicer values the user picked before exporting.


After investigating a bit, I concluded that capturing a bookmark using report.bookmarksManager.capture() available through the javascript Api and using it's state property in the ExportToFile request would be the best solution.


However the resulting pdf always returns like the image below, what am I doing wrong?

returning pdfreturning pdf

Frequent Visitor

Did you find an answer to this question?  I'm experiencing the exact same thing.  Thanks!

Helpful resources

UG GA Amplification 768x460.png

Launching new user group features

Learn how to create your own user groups today!

Power BI October Update 2021.jpg

Power BI Release

Click here to read more about the October 2021 Release!

Community Connections 768x460.jpg

Community & How To Videos

Check out the new Power Platform Community Connections gallery!

Teds Dev Camp Oct. 2021 768x460.jpg

Power BI Dev Camp - October 28th, 2021

Mark your calendars and join us for our next Power BI Dev Camp!

Top Solution Authors
Top Kudoed Authors