Advance your Data & AI career with 50 days of live learning, dataviz contests, hands-on challenges, study groups & certifications and more!
Get registeredGet Fabric Certified for FREE during Fabric Data Days. Don't miss your chance! Request now
Based on a solution for showing items of different categories simultaneaously in Azure Mapsin I shared as a LinkedIn post, I simply wanted to add a field as a tooltip to an Azure Map.
To my surprise, this works well for most countries, but some countries are at least partially "swallowed" by their continent. This means that there is still a bubble and a label for these countries, but the country area (or at least large parts of it) is taken up by the continent (as can be seen from the coloring and the tooltip).
The purpose of my solution described in the earlier LinkedIn post is to display countries and their continents simultaneuosly in an Azure Map. This naturally leads to an overlap of the country and continental areas (or polygons). But it seems to work well.
When I played around with the solution and added a simple tooltip (value=0, doesn't matter wether it's a measure or column), I was surprised by what happened with some countries (see demo attached to my LinkedIn post concerning this issue).
I wouldn't have a problem with this behavior if it occured for all countries. However that is not the case.
To start a small investigation I prepared an (as simple as possible) demo Power BI Project:
▶ Table with columns "Country", "Category", "Label"
▶ Two rows for each country, one for the country and one for the continent
▶ Category can be "Country" or "Continent"
▶ "Label" = name of country or continent
▶ An Azure Maps visual
▶ Simple measure: Sales Measure = 0
Here are some results:
▶ Canada: Only water areas remain of Canada. The rest is taken up by the continent of North America
▶ Chile, Mexiko: Only a few small areas on the coast remain of this countries
▶ Denmark: Danish islands such as Fyn and Sjaelland (incl. Copenhagen) are not part of Azure Maps Europe, but part of Azure Maps Denmark. The European part is taken up by the continent. The islands remain Danish.
Could this mean that the part of a country that belongs to the continent (based on Azure Maps data) is taken up by the continent?
Obviously not:
▶ Some islands in the Atlantic, such as Madeira, belong to Portugal. They are part of Azure Maps Portugal but not a part of Azure Maps Europe. This sounds similar to Denmark. But nothing happens to Portugal.
▶ The polygons that describe the borders of countries are not exactly the same when comparing individual and related borders of an Azure Maps continent model and country model. This results in areas that belong to the continental model but not to the country model, and areas (such as small peninsulas) that belong to the country model but not to the continental model. But for most countries, this doesn't lead to surprises.
Do you have any ideas how this behaviour could be explained?
1) Canada with a measure assigned to tooltip
2) Canada without a measure assigned to tooltip
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.