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

Don't miss out! 2025 Microsoft Fabric Community Conference, March 31 - April 2, Las Vegas, Nevada. Use code MSCUST for a $150 discount. Prices go up February 11th. Register now.

Reply
TBStacey
Helper I
Helper I

Filled Map Bug?

I'm trying to use the filled map visualization in Power BI, but it is being unpredicatable and showing incorrect information. Is this a bug, or could I be doing something wrong?

 

E.g. In this map, I used "animal_state" to color the animal state in the map and I have the data category appropriately listed. IA should be blue and GA shouldn't be included at all. But, Power BI is coloring GA instead of IA.

TBStacey_0-1717870802634.png

TBStacey_2-1717870828666.png

 

I tried it differently and created a new field with State, USA and used that to map. In this map, I used "State, USA" to color the animal state in the map and I have the data category appropriately listed. CO should be blue and GA shouldn't be included at all. But, Power BI is coloring GA instead of CO.

TBStacey_3-1717870869497.png

TBStacey_4-1717870882501.png

 

Instead of using the filled map for state, I decided to try county. In Power BI desktop, I have a filled map by county, here is teh column tools ribbon:

TBStacey_5-1717870959049.png

 

Here is a portion of the filled map:

TBStacey_6-1717870977750.png

It appeared to be working on Power BI desktop, so I published to an online workspace and updated my App, and this is how the exact same map displays online:

TBStacey_8-1717871081600.png

Does the filled map in Power BI just not work? Or am I missing something? I've check the data, it is all accurate. Thanks!

1 ACCEPTED SOLUTION

Hi @TBStacey - To get the shape map, click on File in the top-left corner, then select Options and settings, and then click on Options.In the Options window, go to the Preview features section. Check the box for Shape map visual. Click OK to confirm. You will need to restart Power BI Desktop for the change to take effect.

 

rajendraongole1_0-1718032729383.png

 

Configure the data category

Select the locaton/state provience columns,In the Column tools tab, set the Data category to "State or Province".

rajendraongole1_1-1718033012906.png

 

 

 

Did I answer your question? Mark my post as a solution! This will help others on the forum!
Appreciate your Kudos!!





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

Proud to be a Super User!





View solution in original post

6 REPLIES 6
rajendraongole1
Super User
Super User

Hi @TBStacey -The filled map visualization in Power BI can sometimes be unpredictable due to a variety of reasons, such as geocoding issues, ambiguous location names, or mismatched data categories

Can you create a calculated column by concatenating by adding the geographic data, especially for states and counties, it’s often helpful to use full names (e.g., "Colorado, USA" or "Jefferson County, Colorado, USA") to avoid ambiguity.  

 

Using DAX calculated column:

Eg: Full_State_Name = 'Table'[State] & ", USA"

rajendraongole1_2-1717929553616.png

 


Full_County_Name = 'Table'[County] & ", " & 'Table'[State] & ", USA"

 

rajendraongole1_1-1717929521891.png

 

 

rajendraongole1_0-1717929503045.png

 

you can try even the shape map highlighted for only dedicatedly working on a particular country and their state analysis highlighted in build a visual with green color is shape map.

 

Did I answer your question? Mark my post as a solution! This will help others on the forum!
Appreciate your Kudos!!

 





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

Proud to be a Super User!





I tried full names too, and it didn't work either. As you see below, I tried "Colorado, USA" and the map filled in Goeorgia. 

TBStacey_0-1718019959867.png

Hi @TBStacey - if you can provide some sample data , will check.

 

I have just tried with same configuration of state & country concatenation, filled map is working fine as expected. can you also check the Shape map ?

 

rajendraongole1_1-1718021120326.png

 

 

Did I answer your question? Mark my post as a solution! This will help others on the forum!
Appreciate your Kudos!!





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

Proud to be a Super User!





I don't have the 'Shape Map' in my options. I looked to see if I could import it, but it wasn't an option in the addtional list either.

TBStacey_0-1718029553144.png

The problem with providing sample data is, the Filled Map is not consistent on when it works and when it doesn't, as you can see via my previous photos. Sometimes it displays correctly on the desktop version, but the same version will not work on the online app when published there. Sometimes it won't display correctly on the desktop version or online app. It doesn't seem to be predictable, but the data source is always the same.

 

I can't change the source data as it is connected to a database, I can only change the field the map populates from (such as using the animal_state which says 'CO' and creating a new field that says 'Colorado, USA' which is displaying in the filled map as GA (per photo above). 

 

Georgia is not an animal_state in any rows within the dataset, so I don't understand why it keeps getting filled depending on what I'm trying to pull in. County or State, Georgia keeps getting filled. I even checked on the county that is populating when Georgia is filled and a county with that name (Comanche County, Texas) doesn't exist in the state of Georgia.

Hi @TBStacey - To get the shape map, click on File in the top-left corner, then select Options and settings, and then click on Options.In the Options window, go to the Preview features section. Check the box for Shape map visual. Click OK to confirm. You will need to restart Power BI Desktop for the change to take effect.

 

rajendraongole1_0-1718032729383.png

 

Configure the data category

Select the locaton/state provience columns,In the Column tools tab, set the Data category to "State or Province".

rajendraongole1_1-1718033012906.png

 

 

 

Did I answer your question? Mark my post as a solution! This will help others on the forum!
Appreciate your Kudos!!





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

Proud to be a Super User!





The shape map is accurately reflecting the data. While that doesn't solve the problem of the filled map not working accurately, it does provide a work around, so thank you! I'll mark your reply as the solution (work around)). Maybe someday the filled map will work accurately, until then, I appreciate having an accurate option.

Helpful resources

Announcements
Las Vegas 2025

Join us at the Microsoft Fabric Community Conference

March 31 - April 2, 2025, in Las Vegas, Nevada. Use code MSCUST for a $150 discount!

December 2024

A Year in Review - December 2024

Find out what content was popular in the Fabric community during 2024.