Forum Discussion
Personal Bookmark Overwriting Updates to Filter Pane
- Anonymous6 months ago
Hi Hannahllmm ,
You're definitely on the right track with your thinking. Right now, embedded reports don’t have a built-in way to stop personal bookmarks from restoring everything to how it was saved including slicers and visual filters. That’s just how bookmarks work, even when embedded.
There’s nothing in the embed setup that can change this. The usual workaround is to let the bookmark load as normal, and then use the JavaScript Embed API to quickly reapply your required filter. Since your filter runs right after the bookmark, it ends up being what the user sees. If your filter is something that should always stick, it’s best to build that logic into the semantic model or DAX layer so bookmarks can’t override it. But if you can’t change the model, just reapplying the filter in your code is the way to go.
Thank you.
Hi Hannahllmm ,
Thank you cengizhanarslan for the response provided!
Has your issue been resolved? If the response provided by the community member addressed your query, could you please confirm? It helps us ensure that the solutions provided are effective and beneficial for everyone.
Thank you.
Unfortunately not, I was wondering if there'd be a way to controld this given we have embedded the reports. I wondered if anyone had experience with embedded reports and this filtering scenario
- Anonymous6 months agoNot applicable
Hi Hannahllmm ,
Thanks for following up. In both embedded and standard scenarios, personal bookmarks in Power BI restore the full report state as saved, including filters and slicers. If a filter was added after a bookmark was created, applying that bookmark removes the newer filter.
Embedding doesn't change this behavior, and there's no built in way to prevent a visual filter from being overwritten by a bookmark. To enforce filter logic, consider moving it into the data model or DAX, or programmatically reapply filters after bookmarks, though this can add complexity.
Thank you.- Anonymous6 months agoNot applicable
Hi Hannahllmm ,
I wanted to follow up and see if you had a chance to review the information shared. If you have any further questions or need additional assistance, feel free to reach out.
Thank you.- Hannahllmm6 months agoFrequent Visitor
It sounds like for our use case the only option would be to programmatically reapply filters for existing personal bookmarks. Do you have any more information about this? Thank you