MattRudy / PowerBI-ThemeTemplates

JSON Templates for assembling Power BI Themes
The Unlicense
237 stars 85 forks source link

shapeMap dataPoint conditional coloring? #116

Open mmoroney01 opened 3 years ago

mmoroney01 commented 3 years ago

Didn't see the old repo was unmaintained, posting here instead

I have a shapeMap that's a map of the US with states. Each state has a value 1-6 that I'd like to apply a color to. dataPoint very nicely colors the map using defaultColor, but I was wondering if there was a way to use dataPoint to color each state in the map one of six different colors according to value assigned? Thanks

github-actions[bot] commented 3 years ago

Hey @mmoroney01! Thanks for opening your first issue. We appreciate your contribution to this project! One of our project maintainers will review this soon.

MattRudy commented 3 years ago

@mmoroney01 - taking a look at this for you. My recommendation for that will probably be to use a measure for the color formatting. I'll post a sample here.