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

July 7 - July 17 | Round 2 of the Power BI Dataviz World Championships. Don't miss your chance! 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
FabCon and SQLCon Barcelona 2026

FabCon & SQLCon – Barcelona 2026

Join us in Barcelona for FabCon and SQLCon, the Fabric, Power BI, SQL, and AI community event. Save €200 with code FABCMTY200.

60 days of Data Days Carousel

Data Days 2026

Join Data Days 2026: 60 days of free live/on-demand sessions, challenges, study groups, and certification opportunities.

Power BI DataViz World Championships carousel

Power BI DataViz World Championships - June 2026

A new Power BI DataViz World Championship is coming this June! Don't miss out on submitting your entry.

Top Solution Authors