color a shape map

  • color a shape map

    Posted by DSC Communities on June 27, 2022 at 4:05 pm
    • Pierre-Antoine D

      Member

      June 27, 2022 at 4:05 PM

      Hello all šŸ™‚

      As I am new to Power BI, I try to complete a simple shape map.

      I have loaded in my rapport the results of the last French elections and I’d like to color each region with the color of the winner (party = CodeNuance).

      I can easily display the maximum of votes (Max Voix) on the tooltips, but I can’t succeed in making the link to get the good color on the map.

      For example, the region “Ile-de-France” has a maximum of votes (1158851) from the party “NUP” and should be red ;
      Ā Ā Ā Ā Ā Ā Ā Ā Ā Ā Ā Ā Ā Ā Ā Ā Ā Ā Ā Ā Ā  the region “Haut-de-France” has a maximum of votes (545237) from the party “RN” and should be purple

      Thank you so much for your help !

      ——————————
      Pierre-Antoine D
      Engineer
      ——————————

    • Pierre-Antoine D

      Member

      June 29, 2022 at 8:55 AM

      Hello everyone šŸ™‚

      Yesterday, I eventually managed to color the shape map with the good color by creating a measure “Couleur Max Region”

      But the thing is Power BI gives an error when I choose some columns with the stacked bar or using the slicer. For example choosing “NUP” or “ECO” gives me :

      a table with multiple values was supplied where a single value was expected

      I guess it has to do with the blank cells but I struggle to fix it…

      Could you help me ?

      Cheers

      ——————————
      Pierre-Antoine D
      Engineer
      ——————————
      ——————————————-

    • Pierre-Antoine D

      Member

      June 30, 2022 at 1:59 PM

      Hello,

      Can anyone help please ?

      ——————————
      Pierre-Antoine D
      Engineer
      ——————————
      ——————————————-

    DSC Communities replied 3 years, 9 months ago 1 Member · 0 Replies
  • 0 Replies

Sorry, there were no replies found.

The discussion ‘color a shape map’ is closed to new replies.

Start of Discussion
0 of 0 replies June 2018
Now

Welcome to our new site!

Here you will find a wealth of information created for peopleĀ  that are on a mission to redefine business models with cloud techinologies, AI, automation, low code / no code applications, data, security & more to compete in the Acceleration Economy!