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 September 15. Request your voucher.

Reply
Sibrulotte
Helper IV
Helper IV

Power bi shape map: forcing a key for a custom map

Hi, 

I retrieved this Shape file and used mapshaper to retrieve the Quebec province shapes.

http://ftp.cartes.canada.ca/pub/elections_elections/Electoral-districts_Circonscription-electorale/E...

 

And used this site to retrieve the polling results:

https://www.elections.ca/res/rep/off/ovr2019app/51/data_donnees/pollbypoll_bureauparbureau24.zip

 

 

My Topojason has way too many keys and whatever field I try to put in as my location, it can't make the proper link.

 

For exemple, this district is supposed to be liberal, not Bloc:

Sibrulotte_0-1622157734331.png

 

My shape file has all these keys:

Sibrulotte_1-1622157853934.png

 

and if I try to use either the Electoral district number or district name from my polling results, neither allow me to properly link the results with the topojason key fields.

 

What is the actual key in this relationship, I'm struggling here!

 

1 ACCEPTED SOLUTION
Sibrulotte
Helper IV
Helper IV

it was just my silly person that did not add a color saturation. The minute I did the graph displayed proper links.

View solution in original post

2 REPLIES 2
Sibrulotte
Helper IV
Helper IV

it was just my silly person that did not add a color saturation. The minute I did the graph displayed proper links.

HotChilli
Super User
Super User

can you post a link to your pbix please? and i'll have a look

Helpful resources

Announcements
August Power BI Update Carousel

Power BI Monthly Update - August 2025

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

August 2025 community update carousel

Fabric Community Update - August 2025

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