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

Enhance your career with this limited time 50% discount on Fabric and Power BI exams. Ends August 31st. Request your voucher.

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
July 2025 community update carousel

Fabric Community Update - July 2025

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

July PBI25 Carousel

Power BI Monthly Update - July 2025

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