Get certified for free when you join Fabric Data Days 2026 and dive into Fabric, Power BI, SQL, AI, and other essential data skills.
Join nowJuly 7 - July 17 | Round 2 of the Power BI Dataviz World Championships. Don't miss your chance! Learn more
Hi,
How I can make my custom visual map as a filter.
I created an interactive map using custom visual and leaflet library but I am stuck with making my map as a filter, In case users click on district the whole charts and table change depend on the selected area.
Best,
Khetam
You may check Adding Selection and Interaction with Other Visuals. By the way, here is a forum dedicated to Custom Visuals Development.
How can we programmatically set a default value to a slicer?
When you save a report you save the slicer selection and you can use bookmarks to move between them. However I am not sure what you want to program the slicer to do?
Do you want to have a slicer select a certain region depending on the user, select a time period based on todays date?
More detail would be helpful.
I have this dashboard https://ochayemen.org/hpc/hno-sectors-information, the map is custom visual (using leaflet) and what I need is to change all slicers on click on any district on the map.
Assuming you have already done the obvious of checking interactions of the visual. If you replace the custom visual with say a bar chart and then interact with it does it filter the other visuals?
If it does that it will be some issue with the custom visual itself and I have no experiance with that particular visual and would suggest you contact the creator of the visual or swap to a different map.
I created the custom visual using a leaflet library, but I need a documentation showing how to make my custom visual act like the power bi slicer.
Join us in Barcelona for FabCon and SQLCon, the Fabric, Power BI, SQL, and AI community event. Save €200 with code FABCMTY200.
Join Data Days 2026: 60 days of free live/on-demand sessions, challenges, study groups, and certification opportunities.
| User | Count |
|---|---|
| 29 | |
| 27 | |
| 25 | |
| 23 | |
| 17 |
| User | Count |
|---|---|
| 54 | |
| 46 | |
| 38 | |
| 28 | |
| 21 |