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

Earn the coveted Fabric Analytics Engineer certification. 100% off your exam for a limited time only!

Reply
ben252
New Member

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 2
v-jiascu-msft
Employee
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

Community Support Team _ Dale
If this post helps, then please consider Accept it as the solution to help the other members find it more quickly.
ben252
New Member

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

Helpful resources

Announcements
April AMA free

Microsoft Fabric AMA Livestream

Join us Tuesday, April 09, 9:00 – 10:00 AM PST for a live, expert-led Q&A session on all things Microsoft Fabric!

March Fabric Community Update

Fabric Community Update - March 2024

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