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

Power BI is turning 10! Let’s celebrate together with dataviz contests, interactive sessions, and giveaways. Register now.

Reply
dogburalHK82
Helper III
Helper III

plot map with value legend

Hi, 

 

With the attached raw data, i would like to make a map like below.

dogburalHK82_0-1712904798836.png

 

How should I set up to get that region associated with the prevalence value?

 

CountryPopulationRegionEstimated prevalence of modern slavery per 1,000 population
Afghanistan38928000Asia and the Pacific12.95997238
Albania2878000Europe and Central Asia11.81394482
Algeria43851000Africa1.922730684
Angola32866000Africa4.136548519
Antigua and Barbuda98000Americas 
Argentina45196000Americas4.178747654
Armenia2963000Europe and Central Asia8.938274384
Australia25500000Asia and the Pacific1.609539032
Austria9006000Europe and Central Asia1.855276346
Azerbaijan10139000Europe and Central Asia10.56178951
Bahamas393000Americas 
Bahrain1702000Arab States6.736337385
Bangladesh1.65E+08Asia and the Pacific7.05629921
Barbados287000Americas 
Belarus9449000Europe and Central Asia11.34423828
Belgium11590000Europe and Central Asia0.971031845
Belize398000Americas 
Benin12123000Africa3.042785406
Bolivia11673000Americas7.15239954
Bosnia and Herzegovina3281000Europe and Central Asia10.08794212
Botswana2352000Africa1.842855215
Brazil2.13E+08Americas4.954716682
Brunei Darussalam437000Asia and the Pacific
Bulgaria6948000Europe and Central Asia8.484215736
Burkina Faso20903000Africa3.701391697
Burundi11891000Africa7.506071568
Cambodia16719000Asia and the Pacific4.982629299
Cameroon26546000Africa5.84619236
Canada37742000Americas1.826060414
Cape Verde0Africa 
Central African Republic4830000Africa5.247385025
Chad16426000Africa5.881432056
Chile19116000Americas3.173375845
China1.44E+09Asia and the Pacific4.009806633
Colombia50883000Americas7.808035374
Costa Rica5094000Americas3.193997383
Côte d'Ivoire26378000Africa7.312020302
Croatia4105000Europe and Central Asia5.2431674
Cuba11327000Americas5.406132221
Cyprus1207000Europe and Central Asia8.044442177
Czechia10709000Europe and Central Asia4.240109444
Democratic Republic of the Congo89561000Africa4.54722929
Denmark5792000Europe and Central Asia0.642040074
Djibouti988000Africa7.135610104
Dominican Republic10848000Americas6.632640839
Ecuador17643000Americas7.634540081
Egypt1.02E+08Africa4.31552124
El Salvador6486000Americas8.082976341
Equatorial Guinea1403000Africa7.812037945
Eritrea3546000Africa90.28486633
Estonia1327000Europe and Central Asia4.113351345
Eswatini1160000Africa3.60433197
Ethiopia1.15E+08Africa6.319561481
Fiji896000Asia and the Pacific
Finland5541000Europe and Central Asia1.412570953
France65274000Europe and Central Asia2.061271667
Gabon2226000Africa7.609169483
Gambia2417000Africa6.546003342
Georgia3989000Europe and Central Asia7.793662071
Germany83784000Europe and Central Asia0.564997911
Ghana31073000Africa2.93255806
Greece10423000Europe and Central Asia6.36806488
Guatemala17916000Americas7.820735931
Guinea13133000Africa4.023453236
Guinea-Bissau1968000Africa4.495571136
Guyana787000Americas4.188868523
Haiti11403000Americas8.217990875
Honduras9905000Americas6.956237793
Hong Kong7497000Asia and the Pacific2.762860775
Hungary9660000Europe and Central Asia6.565171719
Iceland341000Europe and Central Asia
India1.38E+09Asia and the Pacific8.007246017
Indonesia2.74E+08Asia and the Pacific6.702832222
Iran83993000Asia and the Pacific7.104307175
Iraq40223000Arab States5.492262267
Ireland4938000Europe and Central Asia1.101991296
Israel8656000Europe and Central Asia3.792859554
Italy60462000Europe and Central Asia3.262979269
Jamaica2961000Americas7.287474155
Japan1.26E+08Asia and the Pacific1.140809536
Jordan10203000Arab States10.00585597
Kazakhstan18777000Europe and Central Asia11.06179714
Kenya53771000Africa5.003462791
Kosovo0Europe and Central Asia8.021943092
Kuwait4271000Arab States12.95925319
Kyrgyzstan6524000Europe and Central Asia8.725506783
Lao PDR7276000Asia and the Pacific5.161807537
Latvia1886000Europe and Central Asia3.378555059
Lebanon6825000Arab States7.56728143
Lesotho2142000Africa1.646948338
Liberia5058000Africa3.145802498
Libya6871000Africa6.821667194
Liechtenstein0Europe and Central Asia
Lithuania2722000Europe and Central Asia6.08598423
Luxembourg626000Europe and Central Asia
Madagascar27691000Africa4.572755337
Malawi19130000Africa4.865484238
Malaysia32366000Asia and the Pacific6.255043507
Maldives541000Asia and the Pacific
Mali20251000Africa5.233090401
Malta442000Europe and Central Asia
Mauritania4650000Africa32.01548386
Mauritius1272000Africa1.507123351
Mexico1.29E+08Americas6.589330673
Moldova4034000Europe and Central Asia9.474068642
Mongolia3278000Asia and the Pacific4.044466496
Montenegro628000Europe and Central Asia
Morocco36911000Africa2.292283058
Mozambique31255000Africa2.974953413
Myanmar54410000Asia and the Pacific12.07966709
Namibia2541000Africa2.351321459
Nepal29137000Asia and the Pacific3.322043419
Netherlands17135000Europe and Central Asia0.568413556
New Zealand4822000Asia and the Pacific1.611743212
Nicaragua6625000Americas7.343417168
Niger24207000Africa4.645125389
Nigeria2.06E+08Africa7.814763546
North Korea25779000Asia and the Pacific104.6
North Macedonia2083000Europe and Central Asia12.60249519
Norway5421000Europe and Central Asia0.515135705
Oman5107000Arab States6.500495536
Pakistan2.21E+08Asia and the Pacific10.63333225
Palau0Asia and the Pacific
Panama4315000Americas4.661962509
Papua New Guinea8947000Asia and the Pacific10.34617519
Paraguay7133000Americas6.41713953
Peru32972000Americas7.098518372
Philippines1.1E+08Asia and the Pacific7.842455864
Poland37847000Europe and Central Asia5.510272026
Portugal10197000Europe and Central Asia3.813815355
Qatar2881000Arab States6.804503563
Republic of the Congo5518000Africa7.990757942
Romania19238000Europe and Central Asia7.549961567
Russia1.46E+08Europe and Central Asia13.01579189
Rwanda12952000Africa4.2523036
Saint Lucia184000Americas 
Saint Vincent and the Grenadines111000Americas 
Saudi Arabia34814000Arab States21.26152056
Senegal16744000Africa2.941902161
Serbia8737000Europe and Central Asia7.015529633
Seychelles98000Africa 
Sierra Leone7977000Africa3.402239561
Singapore5850000Asia and the Pacific2.13350296
Slovakia5460000Europe and Central Asia7.651405811
Slovenia2079000Europe and Central Asia4.448514462
Solomon Islands687000Asia and the Pacific
Somalia15893000Africa6.173291206
South Africa59309000Africa2.662498236
South Korea51269000Asia and the Pacific3.50293541
South Sudan11194000Africa10.29315186
Spain46755000Europe and Central Asia2.312372208
Sri Lanka21413000Asia and the Pacific6.470595837
Sudan43849000Africa3.974432945
Suriname587000Americas 
Sweden10099000Europe and Central Asia0.569348752
Switzerland8655000Europe and Central Asia0.498128146
Syria17501000Arab States8.733797199
Taiwan23817000Asia and the Pacific1.685270905
Tajikistan9538000Europe and Central Asia13.95576954
Tanzania59734000Africa2.859690666
Thailand69800000Asia and the Pacific5.741637707
Timor-Leste1318000Asia and the Pacific6.050777912
Togo8279000Africa3.349859715
Trinidad and Tobago1399000Americas4.731824875
Tunisia11819000Africa2.316662788
Türkiye84339000Europe and Central Asia15.64948082
Turkmenistan6031000Europe and Central Asia11.8753624
Uganda45741000Africa4.151514053
Ukraine43734000Europe and Central Asia12.79318714
United Arab Emirates9890000Arab States13.36672792
United Kingdom67886000Europe and Central Asia1.80371964
United States of America3.31E+08Americas3.295266867
Uruguay3474000Americas1.888077855
Uzbekistan33469000Europe and Central Asia7.44015789
Vanuatu307000Asia and the Pacific
Venezuela28436000Americas9.482327461
Viet Nam97339000Asia and the Pacific4.067520142
Yemen29826000Arab States6.049450596
Zambia18384000Africa5.092990398
Zimbabwe14863000Africa4.981103897
1 ACCEPTED SOLUTION
Anonymous
Not applicable

Hi @dogburalHK82 ,

 

Thanks @PhilipTreacy  for the quick reply. I have some other ideas:

(1)We can create a Filled Map->Changing the fill color.

vtangjiemsft_0-1713255640297.png

(2) We can create a rank column.

 

rank = IF([Estimated prevalence of modern slavery per 1,000 population]<> BLANK(), RANKX('Table',[Estimated prevalence of modern slavery per 1,000 population],,DESC,Dense) ,BLANK())

 

(3)Then the result is as follows.

vtangjiemsft_1-1713255831529.pngvtangjiemsft_2-1713255886481.png

vtangjiemsft_3-1713255910235.png

Best Regards,

Neeko Tang

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

View solution in original post

3 REPLIES 3
Anonymous
Not applicable

Hi @dogburalHK82 ,

 

Thanks @PhilipTreacy  for the quick reply. I have some other ideas:

(1)We can create a Filled Map->Changing the fill color.

vtangjiemsft_0-1713255640297.png

(2) We can create a rank column.

 

rank = IF([Estimated prevalence of modern slavery per 1,000 population]<> BLANK(), RANKX('Table',[Estimated prevalence of modern slavery per 1,000 population],,DESC,Dense) ,BLANK())

 

(3)Then the result is as follows.

vtangjiemsft_1-1713255831529.pngvtangjiemsft_2-1713255886481.png

vtangjiemsft_3-1713255910235.png

Best Regards,

Neeko Tang

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

PhilipTreacy
Super User
Super User

Hi @dogburalHK82 

 

What you've shown in the image and what you are asking for are different.  The map shows values plotted against countries, not regions.

 

If you import that data into PBI (via Power Query) and create a filled map, you get this

 

prevalencemap.png

 

Do you want the data plotted aginst countries or regions?  As a heatmap (varying shades of the same/similar colour) ?

 

Regards

 

Phil



Did I answer your question? Then please mark my post as the solution.
If I helped you, click on the Thumbs Up to give Kudos.


Blog :: YouTube Channel :: Connect on Linkedin


Proud to be a Super User!


@PhilipTreacy my bad - I typed wrong... supposed to be legend (not region).

 

Like you said, the plot againt country with the legend varying shades of the same/similar colour.

 

Helpful resources

Announcements
Join our Fabric User Panel

Join our Fabric User Panel

This is your chance to engage directly with the engineering team behind Fabric and Power BI. Share your experiences and shape the future.

June 2025 Power BI Update Carousel

Power BI Monthly Update - June 2025

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

June 2025 community update carousel

Fabric Community Update - June 2025

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