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

Enhance your career with this limited time 50% discount on Fabric and Power BI exams. Ends August 31st. Request your voucher.

Reply
Anonymous
Not applicable

Map with specific countries and continents

Hi, is there a way to create a map that displays geographical data at continent level as well as specific countries and regions?

For example using the dummy data: 

GeographyEntry
Japan1
Europe1
North America1
Hong Kong0
Australia1
West Africa1


Basically, I would like to use a map to display the %count of entry instead of a stacked bar. How can I achieve this?

Update:

East Africa is the one I have a problem with as it appears on the map to be Central Africa.

Thanks

4 REPLIES 4
Anonymous
Not applicable

Hi @Anonymous 

I think you can build a hierachy(continents and countries ) in your data model.

My Sample:

1.png

Create a measure to calcualte the percentage of the count.

Percentage of Entry for each Continent =
VAR _Sum =
    SUM ( 'Sample'[Entry] )
VAR _Total =
    SUMX (
        FILTER ( ALL ( 'Sample' ), 'Sample'[Continent] = MAX ( 'Sample'[Continent] ) ),
        'Sample'[Entry]
    )
RETURN
    DIVIDE ( _Sum, _Total )

Result is as below.2.png

Best Regards,
Rico Zhou

 

If this post helps, then please consider Accept it as the solution to help the other members find it more quickly.

Anonymous
Not applicable

I reckon this a good approach.

Just for clarification, suppose that the original data has broader classification like 'East Africa', how can I handle that using this method?

As mentioned in the original post, my problem was East Africa dispaying on the central part of Africa on the map.

amitchandak
Super User
Super User

@Anonymous , I think shape map help you for custom region

https://docs.microsoft.com/en-us/power-bi/visuals/desktop-shape-map

Share with Power BI Enthusiasts: Full Power BI Video (20 Hours) YouTube
Microsoft Fabric Series 60+ Videos YouTube
Microsoft Fabric Hindi End to End YouTube
Anonymous
Not applicable

Thanks. I had a look and I unfortunately don't think this helps with my problem.

Helpful resources

Announcements
July 2025 community update carousel

Fabric Community Update - July 2025

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

July PBI25 Carousel

Power BI Monthly Update - July 2025

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