Forum Discussion

ben252's avatar
ben252
New Member
8 years ago

remove a filter from a specific visual in an embedded report

I will like to remove a filter from a visual  in my embeded report. The user will initiate the action by clicking an html element outside of the embedded iframe.  I know how to locate   the object of my visual and i know i need to call:

visual.removeFilters();

 

But then what, how do i cause the report to refresh? Calling report.reload() simply causes the report to reload its default filters.

 

thanks for the help

2 Replies

  • I will like to remove a filter from a visual  in my embeded report. The user will initiate the action by clicking an html element outside of the embedded iframe.  I know how to locate   the object of my visual and i know i need to call:

    visual.removeFilters();

     

    But then what, how do i cause the report to refresh? Calling report.reload() simply causes the report to reload its default filters.

     

    thanks for the help

  • v-jiascu-msft's avatar
    v-jiascu-msft
    Microsoft Employee

    Hi ben252,

     

    As we can see from the live demo, there are some new features tagged with "New". Fortunately, there is a function "Remove visual filters". So we don't need to reload the report. Please give it a try.

    remove_a_filter_from_a_specific_visual_in_an_embedded_report

     

    Best Regards,

    Dale