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

Prepping for a Fabric certification exam? Join us for a live prep session with exam experts to learn how to pass the exam. Register now.

Reply
MichKo
New Member

Shape Map Multiple Filters?

Hello everyone,

I am new to Power-Bi and would like to create a world map with shape maps (no, the other variants are unfortunately not an option).
A simple world map that visualises a parameter (e.g. the number of my files in the respective country) and grades it according to the value is no problem. The same applies to adding a filter that then filters the corresponding regions (e.g. Europe, Asia, ...).

However, my data set is larger and I'm not sure how to get there or how to organise my data in a meaningful way.

 

Here is an example:
I have created a sample file (where can I upload it here?).

Bildschirmfoto 2024-12-04 um 13.35.39.png

 

I have a table in which the number (total) of files are listed for each country as ‘Total Alive’, ‘Alive & Pending’, ‘Alive & Final’, ‘Total Dead’, ‘Dead & Pending’, ‘Dead & Final’.

 

And then I have another detailed table in which the individual countries for each status are listed for each file.
So File-ID 1: ‘Alive & Pending’ in Australia & Germany, ‘Dead & Final’ in United States
And then for all 100 files that I have.

 

I would like to be able to filter the world map as follows and copy the filters to each other.
-By region (Europe, Asia, ...)
-By Dead or Alive
-By Pending or Final
-According to the file IDs (i.e. only file no. 1 or 2 or...)

 

How do I do this?

 

1 ACCEPTED SOLUTION
rajendraongole1
Super User
Super User

Hi @MichKo - You’ll need to structure your data appropriately. Please find the attache pbix file FYR: It has involved with other countries too, so suggest to use Map visual instead of shape map.

 

If you want to filter by region, create a new calculated column in the data to assign regions to countries:

Region =
SWITCH(
TRUE(),
'Table'[Country] IN {"Germany", "France", "Italy"}, "Europe",
'Table'[Country] IN {"Australia", "New Zealand"}, "Oceania",
'Table'[Country] IN {"United States", "Canada"}, "North America",
"Other"
)

 

Hope this helps. 





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

Proud to be a Super User!





View solution in original post

1 REPLY 1
rajendraongole1
Super User
Super User

Hi @MichKo - You’ll need to structure your data appropriately. Please find the attache pbix file FYR: It has involved with other countries too, so suggest to use Map visual instead of shape map.

 

If you want to filter by region, create a new calculated column in the data to assign regions to countries:

Region =
SWITCH(
TRUE(),
'Table'[Country] IN {"Germany", "France", "Italy"}, "Europe",
'Table'[Country] IN {"Australia", "New Zealand"}, "Oceania",
'Table'[Country] IN {"United States", "Canada"}, "North America",
"Other"
)

 

Hope this helps. 





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

Proud to be a Super User!





Helpful resources

Announcements
May PBI 25 Carousel

Power BI Monthly Update - May 2025

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

Notebook Gallery Carousel1

NEW! Community Notebooks Gallery

Explore and share Fabric Notebooks to boost Power BI insights in the new community notebooks gallery.

May 2025 Monthly Update

Fabric Community Update - May 2025

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