Forum Discussion

Sibrulotte's avatar
Sibrulotte
Icon for Helper IV rankHelper IV
5 years ago
Solved

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/Elections_Canada_2019/limites_circonscriptions_federales_2019.shp.zip

 

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:

 

My shape file has all these keys:

 

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!

 

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

2 Replies

  • HotChilli's avatar
    HotChilli
    Icon for Community Champion rankCommunity Champion

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

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