This is best Fabric, Power BI, SQL and AI community event. How do we know? The last event sold out! Save €200 with code FABCMTY200.
Register nowA new Data Days event is coming soon! This time we’re going bigger than ever. Fabric, Power BI, SQL, AI and more. Don't miss out.
Hi,
I am creating a custom map visual displaying the globe and its countries. I want to see if a country has a certain kind of status having boolean values to indicate a countries status. If I display the values on a "Filled Map" the countries that have a true status are displayed in the correct color. However, when I change to a shape map with a custom world.json it shows the world correctly but all the values display a "False" color. However when I click on the countries that are supposed to have a "true" color, the color changes in the correct one. Why is that?
Thanks in advance
Hi,
The issue with your Power BI Shape Map is likely due to improper data mapping between the custom world.json file and your dataset. When you click on a country, it triggers a refresh, showing the correct color for “True” values, but initially, the data isn’t mapped properly, defaulting to “False.”
To fix this issue:
Check Data Mapping: Ensure that the country names or codes in your data match those in the world.json file.
Validate JSON: Confirm that the structure of the world.json file is correct and compatible with Power BI.
Refresh Mapping: Re-import the Shape Map and check if the mapping updates correctly.
Test Standard Map: Try using a standard map to ensure that the boolean values are displayed correctly.
Hope this helps.
Thank you for your answer!
However, I still don't get it to work. I have tried your fixes:
Check Data Mapping: Ensure that the country names or codes in your data match those in the world.json file.
I Checked the JSON file and the country names are aligned with the ones I have, it recognizes each country correctly
Validate JSON: Confirm that the structure of the world.json file is correct and compatible with Power BI.
I checked the structue but it is just a standard TopoJSON file downloaded from: https://github.com/topojson/world-atlas?tab=readme-ov-file, which seems to be fine.
Refresh Mapping: Re-import the Shape Map and check if the mapping updates correctly.
Unfortunatly, re importing didn't work either
Test Standard Map: Try using a standard map to ensure that the boolean values are displayed correctly.
Standard map works for me, and the boolean values are displayed correctly. I just don't know why the shape map does not...
As you can see in my picture I cross higlighted france and it shows me the correct "True" color. However if I de select France and return to the overall view it just gives the "False" color on every country.
Do you have the 'i' warning on the side of the shapemap visual when the 'false' colours are being displayed? If so, it's telling you there are too many datapoints.
If not, please provide the pbix and i'll have a look.
I do not have the "i" warning. Unfortunatly, I can't share my pbix since it is classified data. I really think this is a bug because in the normal map visuals it is correctly displayed.
Check out the May 2026 Power BI update to learn about new features.
Sign up to receive a private message when registration opens and key events begin.
If you have recently started exploring Fabric, we'd love to hear how it's going. Your feedback can help with product improvements.
| User | Count |
|---|---|
| 29 | |
| 27 | |
| 25 | |
| 19 | |
| 14 |
| User | Count |
|---|---|
| 56 | |
| 48 | |
| 37 | |
| 21 | |
| 20 |