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

The Power BI Data Visualization World Championships is back! Get ahead of the game and start preparing now! Learn more

Reply

How to make a map shows values on country with gradient color

Hello,

 

I am using Power BI desk. With the limitation of map visual, I only have shape map and heat map isntalled.  But I need to make a map visual (see below example) using the dataset contains 'value' and 'country/jurisdiction' coulmns (I don't have 5,770 Canada yet). Can anyone help?  Thanks.

BarbaraYanChen_0-1739467310001.png 

 

ValueCountry/ Jurisdiction
4GUATEMALA
12GUINEA
1GUYANA
36HAITI
6HONDURAS
98HONG KONG
1HUNGARY
1579INDIA
16INDONESIA
66IRAN (ISLAMIC REPUBLIC OF)
8IRAQ
9ISRAEL
13ITALY
51JAMAICA
18JORDAN
5KAZAKHSTAN
22KENYA
3KOREA (THE DEMOCRATIC PEOPLE'S REPUBLIC OF)
12KOREA (THE REPUBLIC OF)
2KUWAIT
2KYRGYZSTAN
2LAO PEOPLE'S DEM. REPUBLIC
7LATVIA
46LEBANON
3LIBERIA
8LIBYA (LIBYAN ARAB JAMAHIRIYA)
10MALAYSIA
6MALI
1MALTA
2MAURITANIA
1MAURITIUS
294MEXICO
139MOROCCO
3MYANMAR
3NICARAGUA
180NIGERIA
458PAKISTAN
3PALESTINIAN TERRITORIES
11PANAMA
2PARAGUAY
25PERU
227PHILIPPINES
3POLAND
4ROMANIA
9RUSSIAN FEDERATION (THE)
1SAINT KITTS AND NEVIS
2SAINT VINCENT AND THE GRENADINES
19SAUDI ARABIA
92SENEGAL
6SERBIA
1SOMALIA
29SOUTH AFRICA
1SOUTH SUDAN
9SPAIN
64SRI LANKA
3SUDAN
3SYRIA (SYRIAN ARAB REPUBLIC)
6TAIWAN
10TANZANIA (UNITED REPUBLIC OF)
32THAILAND
50TRINIDAD AND TOBAGO
60TUNISIA
87TURKEY
2TURKS AND CAICOS ISLANDS (THE)
19UGANDA
34UKRAINE
384UNITED ARAB EMIRATES (THE)
4UNITED STATES OF AMERICA
1UZBEKISTAN
9VENEZUELA (BOLIVARIAN REPUBLIC OF)
119VIET NAM
4VIRGIN ISLANDS (BRITISH)
1ZAMBIA
1ZIMBABWE

 

3 REPLIES 3
Anonymous
Not applicable

Hi @BarbaraYanChen ,

 

Thanks for the reply from rajendraongole1 .

 

I tested it and Shape map doesn't recognize these Country, maybe you need to customize it.

 

I have an alternative that uses Azure Map.

 

Create an Azure map and drag the Country field to Location.

vhuijieymsft_0-1739514308806.png

 

Next Steps:

Turn off Bubble Layer > Turn on Filled Map > Colors > f(x)  > Format Style = Gradient > Base on [Sum of Value] > Adjust color, Min, Max

vhuijieymsft_1-1739514308809.png

 

For conspicuousness, for the minimum value I use green and for the maximum value I use red, adjust it as you need it in the actual application.

vhuijieymsft_2-1739514339181.png

 

Result:

vhuijieymsft_3-1739514339204.png

 

The pbix file is attached.

 

If you have any other questions please feel free to contact me.

 

Best Regards,
Yang
Community Support Team

 

If there is any post helps, then please consider Accept it as the solution  to help the other members find it more quickly.
If I misunderstand your needs or you still have problems on it, please feel free to let us know. Thanks a lot!

Hi Yang,

 

Thanks for providing the alterniative.  Unfortunately, Azure Map is not enabled for my company.  I am unable to see your result.  Anyway, really appreciate your time to help me!

 

Thank you,

 

Barbara

rajendraongole1
Super User
Super User

Hi @BarbaraYanChen  - you mentioned you only have the Shape Map and Heat Map visuals

Drag the Country/Jurisdiction column into the Location field well.Next drag the Value column into the Color Saturation field well.This will map the countries and apply shading based on the Value.

For the Shape Map to display properly, ensure you’ve loaded a suitable TopoJSON file for world countries. You can find a free one .GitHub - alexabruck/worldmap-sensitive: TopoJSON worldmap with modified country borders

 

if still issue exist with shape map, you can consider enabling and using the ArcGIS Maps for Power BI visual. 

 

Hope this helps.

 





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

Proud to be a Super User!





Helpful resources

Announcements
November Power BI Update Carousel

Power BI Monthly Update - November 2025

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

Fabric Data Days Carousel

Fabric Data Days

Advance your Data & AI career with 50 days of live learning, contests, hands-on challenges, study groups & certifications and more!

FabCon Atlanta 2026 carousel

FabCon Atlanta 2026

Join us at FabCon Atlanta, March 16-20, for the ultimate Fabric, Power BI, AI and SQL community-led event. Save $200 with code FABCOMM.

Top Solution Authors
Top Kudoed Authors