Forum Discussion

Anonymous's avatar
Anonymous
Not applicable
6 years ago

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

Greetings,

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 pdf

1 Reply

  • pbipbj's avatar
    pbipbj
    Frequent Visitor

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