The ultimate Fabric, Power BI, SQL, and AI community-led learning event. Save €200 with code FABCOMM.
Get registeredEnhance your career with this limited time 50% discount on Fabric and Power BI exams. Ends August 31st. Request your voucher.
Hi,
I have created a custom visualisation using the R leaflet plugin. I have issues making the interaction between the map and the other Power BI visualisations work nicely. If I filter my data by clicking a graph, the zoom level of my map is reset.
Any suggestions on how I can prevent this?
Any help is much appreciated!
Thanks!
Solved! Go to Solution.
Hi @Anonymous ,
You may use "Edit interactions" feature to choose which visuals to be filtered by one special visual, just select on the graph, go to Format ->Edit interactions, then choose the "no impact" icon for the map visual.
For example:
Reference:
https://docs.microsoft.com/en-us/power-bi/service-reports-visual-interactions .
Best Regards,
Amy
Community Support Team _ Amy
If this post helps, then please consider Accept it as the solution to help the other members find it more quickly.
Hi,
I developed it myself with this plugin:
https://github.com/microsoft/PowerBI-visuals
I think I need to edit the visual.ts somehow - but don't know exactly what to change.
Hi @Anonymous ,
See if this helps
https://community.powerbi.com/t5/Desktop/PowerBI-Desktop-and-leaflet/m-p/826005
https://community.powerbi.com/t5/Developer/Power-Bi-Leaflet-tiles-not-showing-properly/m-p/346215
Regards,
HN
Thanks for sharing, but unforturantly, this does not solve my problem.
Mayby this explains my problem better.
Hi @Anonymous ,
Would you like the custom leaflet map interact with the graph, or not?
Best Regards,
Amy
Hi @v-xicai
I would like that it is only the dataset the updates, but not the zoom level of the map. For an example, if I click a graph that filters the data based on a year, I would like that only that dataset updates, but not the zoom level of the map.
Hi @Anonymous ,
You may use "Edit interactions" feature to choose which visuals to be filtered by one special visual, just select on the graph, go to Format ->Edit interactions, then choose the "no impact" icon for the map visual.
For example:
Reference:
https://docs.microsoft.com/en-us/power-bi/service-reports-visual-interactions .
Best Regards,
Amy
Community Support Team _ Amy
If this post helps, then please consider Accept it as the solution to help the other members find it more quickly.