Forum Discussion

Foxwhite92's avatar
Foxwhite92
New Member
3 years ago
Solved

Use conditional colors in a map

Hello, 

 

I would like to use conditional colors in a map to show wich cities have the best income. 

 

So, I have created a map with cities names and the sum of price as a measure. Then, I have tried to use a conditional color to change bubble's color based on the sum of the price.

 

But It'seem to not worked because all the bubbles have the same color, however the values are different.

 

 

As you can see, I don't know how to apply a gradient color based on the sum of the price.

 

Thank you for you're help.

  • Hi Foxwhite92,

     

    Use the below screenshot as reference to apply graident based on sum of a field.

     

     

    Also, if you have similar values, you might not be able to see the different colours in the map so I suggest to use a colour spectrum and choose a middle value as well as shown above. Result:

     

     

    Did I answer your question? Mark this post as a solution if I did!
    Check out this blog of mine: How to Export Telemetry Data from Azure IoT Central into Power BI

1 Reply

  • Shaurya's avatar
    Shaurya
    Memorable Member

    Hi Foxwhite92,

     

    Use the below screenshot as reference to apply graident based on sum of a field.

     

     

    Also, if you have similar values, you might not be able to see the different colours in the map so I suggest to use a colour spectrum and choose a middle value as well as shown above. Result:

     

     

    Did I answer your question? Mark this post as a solution if I did!
    Check out this blog of mine: How to Export Telemetry Data from Azure IoT Central into Power BI