Forum Discussion
Shape Map Multiple Filters?
- 1 year ago
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.
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.