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

Score big with last-minute savings on the final tickets to FabCon Vienna. Secure your discount

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
August Power BI Update Carousel

Power BI Monthly Update - August 2025

Check out the August 2025 Power BI update to learn about new features.

August 2025 community update carousel

Fabric Community Update - August 2025

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