Forum Discussion
Conditional formatting - Change of chart color based on the value of the measure
- 10 years ago
If you just want your bar to be colored green if you value is above 100 and otherwise red then this is very possible with Color saturation.
Put the same measure as you have in your Value into the Color saturation.
Then go to the format tab and under Data colors set minimum and maximum to 100 and change the colors to red and green.
That should do it.
Hi,
I have a requirement to show the bar color chart (individual bar) to show green if it is above certain value
For eg: if total value is >100, bar should show green , or red otherwise.
Can you pls advise if this is possible to address this as a workaround via Color formatting as I have tried basic options and didnt give me what I m looking for?
Pls advise.
Thanks, Srikanth
You can write a custom bar chart to handle your color logic. You can start with the histogram chart in the custom visuals repository. Then modify "fill" logic to display colors based on values.
For example, I change the bar color to red. See attachment.
- premjitsaha9 years agoFrequent Visitor
the link does not work