Microsoft is giving away 50,000 FREE Microsoft Certification exam vouchers!
Enter the sweepstakes now!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.
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?).
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?
Solved! Go to Solution.
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.
Proud to be a 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.
Proud to be a Super User! | |
Check out the May 2025 Power BI update to learn about new features.
Explore and share Fabric Notebooks to boost Power BI insights in the new community notebooks gallery.
User | Count |
---|---|
72 | |
71 | |
70 | |
50 | |
46 |
User | Count |
---|---|
45 | |
38 | |
29 | |
29 | |
28 |