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

Enhance your career with this limited time 50% discount on Fabric and Power BI exams. Ends August 31st. Request your voucher.

Reply
dpeacockGIS
Frequent Visitor

Azure map with reference layer - polygon fill is finicky

There seems to be a specific order to do things when you're using a reference layer and assigning polygon colors in Azure maps. It takes me about 30 minutes of clicking and clearing before I can get it to work - and I have no idea why.

 

The geojson works great - with a solid color. I'm making sure my csv with the matching field has the same column name. I've tried it with both text and number (one of the ones that I've been successful with likes it to be text).

 

When messing around with it, there seems to be something with the bubble layer. I have a bubble layer on the csv with the middle point of the polygon. It seems to be some sort of combination/order of messing with the bubble layer and the reference layer polygon.

 

Any guidance is greatly appreciated as I'm beyond frustrated that I can't figure it out.

1 ACCEPTED SOLUTION
dpeacockGIS
Frequent Visitor

I figured out a workaround!  Rather than using the URL and linking to my GitHub, I uploaded the geojson file.  And it works perfectly.  It's a shame I have to do that, but I'll take it for now!

 

View solution in original post

4 REPLIES 4
dpeacockGIS
Frequent Visitor

I figured out a workaround!  Rather than using the URL and linking to my GitHub, I uploaded the geojson file.  And it works perfectly.  It's a shame I have to do that, but I'll take it for now!

 

Hi @dpeacockGIS ,

Thanks for the update. We are happy to hear that you have resolved the issue. Thanks for sharing the details here. Please mark your insights Accept as solution to help others with similar problems find it easily. 
Thank you.

rajendraongole1
Super User
Super User

Hi @dpeacockGIS  - Since your CSV data and GeoJSON need to match, make sure:
The field names are exactly the same (including case sensitivity).
The data types match (text vs. number).
No extra spaces in your CSV values (sometimes spaces or invisible characters cause issues).
The GeoJSON property key is the same as the column name in the CSV.

 

can you check the following solved thread:

Solved: Polygon Reference Layer in Azure Map - Microsoft Fabric Community

Hope it works in your scenerio.please check.





Did I answer your question? Mark my post as a solution!

Proud to be a Super User!





I have created a new pbix with just the data for the map.  I copied the code directly from the advanced editor in Power Query to duplicate the data.  If I copy/paste the visual from the original pbix, I can get it to work (matches the table and column names, etc).  If I try to recreate the map next to the one I copied - using the same data and going through each of the "format visual" options to match the other one, I cannot get it to work.

 

I wish there was a way to just grab the code for the visual and duplicate it.  I think it has something to do with the order of creating the visual.

Helpful resources

Announcements
August Power BI Update Carousel

Power BI Monthly Update - August 2025

Check out the August 2025 Power BI update to learn about new features.

August 2025 community update carousel

Fabric Community Update - August 2025

Find out what's new and trending in the Fabric community.

Top Solution Authors