Skip to main content
cancel
Showing results for 
Search instead for 
Did you mean: 

Compete to become Power BI Data Viz World Champion! First round ends August 18th. Get started.

Reply
DavideBono97
Frequent Visitor

PowerBi Embedded - Reset filter

Good morning

I have a Embedded Report with pages
Some pages have filters as follows

DavideBono97_0-1664874216002.png

 

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

1 ACCEPTED 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


If this post helps, then please consider Accept it as the solution to help the other members find it more quickly.

Happy to help!

LaDataWeb Blog

View solution in original post

3 REPLIES 3
ibarrau
Super User
Super User

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,


If this post helps, then please consider Accept it as the solution to help the other members find it more quickly.

Happy to help!

LaDataWeb Blog

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


If this post helps, then please consider Accept it as the solution to help the other members find it more quickly.

Happy to help!

LaDataWeb Blog

Helpful resources

Announcements
August Power BI Update Carousel

Power BI Monthly Update - August 2025

Check out the August 2025 Power BI update to learn about new features.

August 2025 community update carousel

Fabric Community Update - August 2025

Find out what's new and trending in the Fabric community.