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.
Good morning
I have a Embedded Report with pages
Some pages have filters as follows
With the eraser I can delete the filters or in any case change them
Is there a client method to be able to reset the report page filter?
Thanks in advance
Solved! Go to Solution.
Ok. You can remove from your code the settings -> pane -> filter. That way the filter pane will show if it is visible in the report, if the owner hids it then it won't be there.
In order to "restore filters" you can ask them to add a button and create a bookmark that will save data filters to take them back. I guess if you just refresh the whole page it should restore the filters to default too, but I'm not sure.
I hope that make sense
Happy to help!
Hi. If you don't want the user to change those filters the best practice would be hid the filter pane. You can do it when editing the report or by code if you are embedding with javascript.
The reports at service can be loaded as default if you remove the persist of users filters to reset them each load of the page, but I think that's only for Service, I always thought the report was reset by default each time it loads as embedded. I just wanted to mention that because it might be usefull.
I hope that helps,
Happy to help!
Thanks for the reply
I embedded report with javascript
I am interested that the user can change the filters
But I'd like to somehow restore them while viewing the embedded report with the javascript method, if possible
This is not about persistentfilter
Ok. You can remove from your code the settings -> pane -> filter. That way the filter pane will show if it is visible in the report, if the owner hids it then it won't be there.
In order to "restore filters" you can ask them to add a button and create a bookmark that will save data filters to take them back. I guess if you just refresh the whole page it should restore the filters to default too, but I'm not sure.
I hope that make sense
Happy to help!