logo
search
Others

How to Combine Metropolitan and State Boundaries in Power BI Custom Shape Maps

Maira MehtabMaira Mehtab Sep 22, 2026 869 views

Question details

The user wants to combine metropolitan statistical area boundaries with state boundaries in a custom Power BI Shape Map created using Mapshaper.

Product
Power BI
Device & OS
not provided
Scenario
Creating a complex custom map visualization in Power BI that merges state geographic data with specific metropolitan statistical areas.
Observed behavior
The user requires specific guidance on Mapshaper commands and TopoJSON/GeoJSON output for a custom map, which requires specialized mapping support rather than general Microsoft 365 troubleshooting.
Before you start

Before reaching out for advanced map boundary solutions, ensure you have your source boundary files (TopoJSON or GeoJSON) and a record of your current Mapshaper commands ready.

Solution 1Recommended

Seek Assistance in the Official Power BI Community Forums

Since custom Shape Maps and Mapshaper data merging are highly specialized topics, the Power BI developer community is the best venue to get expert help.

Advanced geographical data merging utilizing Mapshaper falls outside the scope of general Microsoft 365 functionality. Mapping experts actively monitor the dedicated Power BI community forums to solve specific TopoJSON and GeoJSON issues.

1
Gather your source mapping files

Compile your original boundary files, including the separate metropolitan statistical area data and the state boundary data you wish to combine.

2
Document your Mapshaper inputs

Record the exact Mapshaper commands you have tried so far, along with any TopoJSON or GeoJSON output files you have generated.

3
Post in the Power BI Community

Navigate to the official site at community.powerbi.com, select the appropriate Desktop or Developer forum, and post your question with all your documented files and a description of the desired map result.

Free Microsoft Office alternative

Explore WPS Office for Your Data Preparation Needs

While specialized visualization tools like Power BI handle complex custom shape maps, WPS Spreadsheet provides a free, lightweight, and powerful alternative to Microsoft Excel for cleaning and preparing your geographical data sets before importing them into mapping tools.

  1. 1. Download WPS Office: Visit the official WPS website to download and install the free WPS Office suite on your device.
  2. 2. Import raw geographical data: Open WPS Spreadsheet and import your raw statistical area data, ensuring all geographic keys match your boundary files.
  3. 3. Clean and format data: Use built-in sorting, filtering, and text-to-columns tools to prepare your dataset thoroughly before loading it into Power BI.
Highly compatible with Microsoft Excel formats (.xlsx, .csv) for seamless geographical data preparation.Lightweight installation and fast performance for processing large statistical datasets.Familiar, intuitive user interface that requires no learning curve compared to other Office tools.Completely free core spreadsheet features to organize metropolitan and state data effortlessly.
microsoft office alternative - wps office

Frequently Asked Questions

What file format does Power BI require for custom Shape Maps?

Power BI requires custom shape maps to be imported in the TopoJSON format. If your source boundary files are in GeoJSON or ESRI Shapefile formats, you must convert them using a tool like Mapshaper before importing.

Can I combine multiple boundary files using Mapshaper?

Yes, Mapshaper allows you to import multiple datasets and use console commands like '-merge-layers' or '-join' to combine different boundaries, such as overlaying states with metropolitan areas.

Why isn't my custom TopoJSON map rendering properly in Power BI?

This usually happens if the TopoJSON file lacks the proper geographic projection or if the geographic keys (like state or city names) in your map data do not exactly match the location fields mapped in your imported Power BI dataset.

Is the Shape Map visual available by default in Power BI Desktop?

The Shape Map visual is currently considered a preview feature in Power BI. You need to enable it manually by navigating to File > Options and settings > Options > Preview features, and checking the 'Shape map visual' box.