Showing results for 
Search instead for 
Did you mean: 
New Member

Power BI Desktop: "Export to PDF" ist not wating for IVisualEventService.renderingFinished()


I'm developing a custom visual that takes a few seconds for asynchronous rendering, so I'm calling the
IVisualEventService methods (see

- renderingStarted(options: VisualUpdateOptions) > synchronously in the update method)
- renderingFinished(options: VisualUpdateOptions) > at the end of the asynchronous rendering method
- renderingFailed(options: VisualUpdateOptions) > at the end of the asynchronous error handler callback

However, Power BI Desktop is not wating for the call
to renderingFinished() when it loops over the report's pages on "Export to PDF",
therefore the screenshot of my visual in the PDF document is incomplete. My custom visual is not yet certified.

My questions: Is this the known (and desired) behaviour of Power BI Desktop for uncertified custom visual?
Does Power BI Desktop waits for renderingFinished() on "Export to PDF" for certified visuals?
Or am I doing something wrong?


Best regards,


Helpful resources

May 2023 update

Power BI May 2023 Update

Find out more about the May 2023 update.

Submit your Data Story

Data Stories Gallery

Share your Data Story with the Community in the Data Stories Gallery.