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!The Power BI Data Visualization World Championships is back! Get ahead of the game and start preparing now! 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.
The Power BI Data Visualization World Championships is back! Get ahead of the game and start preparing now!
| User | Count |
|---|---|
| 38 | |
| 36 | |
| 33 | |
| 32 | |
| 28 |
| User | Count |
|---|---|
| 129 | |
| 88 | |
| 79 | |
| 68 | |
| 63 |