Reset all the filter schemes (including used and un-used) in spotfire

2.4k views Asked by At

Is there any way to reset all the filter schemes? I understood that using the "Action Control", we are able to reset only the filter scheme used in the report but not all. I am trying to reset all the filter scheme. Appreciate your kind support.

2

There are 2 answers

1
clesiemo3 On

You can utilize a python script attached to a button to loop through all of your filtering schemes and reset them:

#reset all filters
for i in range(0,Document.FilteringSchemes.Count):
    Document.FilteringSchemes[i].ResetAllFilters()

If the filtering scheme exists, it will reset all the filters it holds.

0
phiver On

The "Reset All Filters" in the available Actions resets only the active filtering scheme. If you have multiple filtering schemes on the same page or in the report you need the script provided by clesiemo3.

If you want to reset all visible filters, use the script found here