Join us at FabCon Atlanta from March 16 - 20, 2026, for the ultimate Fabric, Power BI, AI and SQL community-led event. Save $200 with code FABCOMM.
Register now!To celebrate FabCon Vienna, we are offering 50% off select exams. Ends October 3rd. Request your discount now.
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!
Solved! Go to Solution.
Forget it.
I solved using persistSelectionFilter method from ISelectionHandler in the interactive behavior class.
Forget it.
I solved using persistSelectionFilter method from ISelectionHandler in the interactive behavior class.
User | Count |
---|---|
3 | |
3 | |
2 | |
2 | |
2 |
User | Count |
---|---|
9 | |
7 | |
6 | |
5 | |
4 |