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

Learn from the best! Meet the four finalists headed to the FINALS of the Power BI Dataviz World Championships! Register now

Reply
danieleperilli
Kudo Commander
Kudo Commander

SelectionManager in custom visuals

Hi guys,
I'm working on a new custom slicer-like visual, but I have a problem with selectionManager.
The visual uses SelectionManager.select(...) function to filter all the other charts in the report.
But when the filter is applied, if I click on the legend/data points of a chart (like Line Chart - bound to the same measure) the filter is resetted. This behavior don't happen with the built-in Slicer or with the ChicletSlicer (but digging the code I saw that these visuals use the InteractivityService).
Can you point me to the right direction to apply a filter in a persistant way?

 

Thank you!

 

 

 

1 ACCEPTED SOLUTION
danieleperilli
Kudo Commander
Kudo Commander

Forget it.

I solved using persistSelectionFilter method from ISelectionHandler in the interactive behavior class.

View solution in original post

1 REPLY 1
danieleperilli
Kudo Commander
Kudo Commander

Forget it.

I solved using persistSelectionFilter method from ISelectionHandler in the interactive behavior class.

Helpful resources

Announcements
Join our Fabric User Panel

Join our Fabric User Panel

Share feedback directly with Fabric product managers, participate in targeted research studies and influence the Fabric roadmap.

March Power BI Update Carousel

Power BI Community Update - March 2026

Check out the March 2026 Power BI update to learn about new features.