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

July 7 - July 17 | Round 2 of the Power BI Dataviz World Championships. Don't miss your chance! Learn more

Reply
GretaMenke
New Member

Map visualization

I have two problems regarding the map visualization.

 

Problem number 1:
I have a pie chart with records in three possible categories: "permanent", "temporary", "deleted". To this I have added a table, with interaction to the map visualization, which returns me the number of each record in the category.

Problem: If there are 0 records in the category "Deleted", then the map visualization shows me "Empty" -> How do I get this customized? I would like to add a text here "Not available" or something similar?

 

Problem number 2:
I have the same pie chart as described above, only this time the map visualization does not return me the number but the name of the category "Permanent", "Temporary", "Cancelled". However, the first category is always displayed here in visualization - even if I have not selected anything yet pie chart. Here it would be nice that the chart visualization "pops up" only when I display something from the chart. Or insert a condition: "If nothing selected, then empty" or similar?!

 

Does anyone have any ideas?

1 REPLY 1
rajendraongole1
Super User
Super User

Hi @GretaMenke -

Prob:1

In Power BI, when there are 0 records in a category, the map visualization shows "Empty". Unfortunately, Power BI doesn't directly allow you to replace "Empty" with custom text. However, you can work around this by creating a measure that returns custom text and then using a card visual or another visual to display it over the map.

Use a custom measure to display "Not available" when there are no records in the "Deleted" category and overlay this on the map visualization with a card visual.

 

 

for Prob: 2
Power BI doesn't directly support conditional visibility of visuals, but you can achieve a similar effect by creating a measure that returns a value only when something is selected in the pie chart. If nothing is selected, the measure will return blank, which can then be used to conditionally show or hide the map visualization.

 

Hope this helps.





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

Proud to be a Super User!





Helpful resources

Announcements
FabCon and SQLCon Barcelona 2026

FabCon & SQLCon – Barcelona 2026

Join us in Barcelona for FabCon and SQLCon, the Fabric, Power BI, SQL, and AI community event. Save €200 with code FABCMTY200.

60 days of Data Days Carousel

Data Days 2026

Join Fabric Data Days 2026: 60 days of free live/on-demand sessions, challenges, study groups, and certification opportunities.

Power BI DataViz World Championships carousel

Power BI DataViz World Championships - June 2026

A new Power BI DataViz World Championship is coming this June! Don't miss out on submitting your entry.