This is best Fabric, Power BI, SQL and AI community event. How do we know? The last event sold out! Save €200 with code FABCMTY200.
Register nowA new Data Days event is coming soon! This time we’re going bigger than ever. Fabric, Power BI, SQL, AI and more. Don't miss out.
Hi,
I'm using the Export To File In Group REST endpoint to export a multi-page report with bookmarks to PNG, and I'm running into problems.
Basically, during a export request I want to render each page in the report in the same filter state, as specified by a bookmark. The bookmarks in the report only memorize the state of the filters ("Data").
I've obtained the identifying bookmark names (NOT the displayNames) using the PowerBI Javascript API. I'm not selecting the bookmarks using the bookmark state.
I have encountered the following problems when exporting:
Is there any solution or workaround for these problems?
My understanding of bookmarks is different (not necessarily correct 🙂 ) - I think of them as being locked to certain filter snapshots for a page.
Create and specify separate bookmarks for each of the pages you want to export with the applied filters.
Thanks for the suggestion. That should work, although it'll become onerous for reports with many pages.
Just to confirm: the current behaviour isn't the intended one, or is it? In theory Data-only bookmarks shouldn't remember the current page. And the default bookmark for an export request should apply to all pages exported within the request.
I believe there formerly was a warning in the REST API documentation to the effect that identifying a bookmark by name didn't work yet, but the warning has since been removed.
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 |
|---|---|
| 3 | |
| 1 | |
| 1 | |
| 1 | |
| 1 |