- Subscribe to RSS Feed
- Mark Topic as New
- Mark Topic as Read
- Float this Topic for Current User
- Bookmark
- Subscribe
- Printer Friendly Page
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
API activePage.getFilters() throws 500 after drill through from a page with bookmark applied.
We have a report page with bookmark applied. After clicking an item to drill through to, the embed drills through successfully. However I am trying to get the current filters/visuals from the active page during the 'rendered' event. I have found that if I have the settings like this:
settings: {
panes: {
filters: {
visible: true,
expanded: true
},
}
}
The activePage.getFilters works as expected. However when visible is false. I can debug to a 500 from PBIs api request.
If their is no bookmark state applied, it does not 500. I wonder if it has to do with a filter that is within the bookmark state. When the filters are visible, I noticed this filter in the result of getFilters, that stood out to me:
{
"$schema": "http://powerbi.com/product/schema#notSupported",
"target": null,
"filterType": 2,
"message": "Not supported filter type - can't serialize to json syntax.",
"notSupportedTypeName": "Passthrough"
}
I wonder if this is some how breaking the non-visible getFilters call? This was all reproducable in the PBI Playground. From a developer POV, the visibility of filters pane should not determine the result of the getFilters API call.
Solved! Go to Solution.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
MS support said the 500 was expected when the filters pane is hidden. 🙃 As a work around I have implemented to show the filter pane, getFilters(), hide the filters all behind a loading sign until everything is ready.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
MS support said the 500 was expected when the filters pane is hidden. 🙃 As a work around I have implemented to show the filter pane, getFilters(), hide the filters all behind a loading sign until everything is ready.

Helpful resources
Subject | Author | Posted | |
---|---|---|---|
Anonymous
| 04-20-2022 04:23 AM | ||
04-24-2023 11:51 PM | |||
12-02-2024 01:37 AM | |||
02-10-2025 05:44 AM | |||
10-17-2024 05:20 AM |
User | Count |
---|---|
5 | |
4 | |
4 | |
2 | |
2 |
User | Count |
---|---|
8 | |
4 | |
4 | |
4 | |
3 |