Forum Discussion

arpost's avatar
arpost
Icon for Post Prodigy rankPost Prodigy
4 years ago
Solved

How do I clear filters but show them in the filter pane via REST API?

I have a report in Power BI Embedded where I want to let users clear all of the report's filter selections but still show the filter fields in the Filters pane. In the PBI Playground, I only see APIs for adding filters, but nothing for clearing the filter selections.

Anyone have a suggestion?

  • Never mind! I figured it out. The trick is to use the All operator with no values specified:

     

1 Reply

  • arpost's avatar
    arpost
    Icon for Post Prodigy rankPost Prodigy

    Never mind! I figured it out. The trick is to use the All operator with no values specified: