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

The Power BI Data Visualization World Championships is back! Get ahead of the game and start preparing now! Learn more

Reply
kal-tahrawi
Frequent Visitor

using custom visual maps as a filter

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

6 REPLIES 6
v-chuncz-msft
Community Support
Community Support

@kal-tahrawi,

 

You may check Adding Selection and Interaction with Other Visuals. By the way, here is a forum dedicated to Custom Visuals Development.

Community Support Team _ Sam Zha
If this post helps, then please consider Accept it as the solution to help the other members find it more quickly.

How can we programmatically set a default value to a slicer?

 

 

Anonymous
Not applicable

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.

Anonymous
Not applicable

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.

Helpful resources

Announcements
Power BI DataViz World Championships

Power BI Dataviz World Championships

The Power BI Data Visualization World Championships is back! Get ahead of the game and start preparing now!

December 2025 Power BI Update Carousel

Power BI Monthly Update - December 2025

Check out the December 2025 Power BI Holiday Recap!

FabCon Atlanta 2026 carousel

FabCon Atlanta 2026

Join us at FabCon Atlanta, March 16-20, for the ultimate Fabric, Power BI, AI and SQL community-led event. Save $200 with code FABCOMM.