The ultimate Fabric, Power BI, SQL, and AI community-led learning event. Save €200 with code FABCOMM.
Get registeredCompete to become Power BI Data Viz World Champion! First round ends August 18th. Get started.
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.