Forum Discussion
SrikanthBI
10 years agoRegular Visitor
Conditional formatting - Change of chart color based on the value of the measure
Hi, Being a new comer to Power BI, struggling to understand all the features provided currently. Is there a feature for conditional formatting for the bar chart shows different colors based on a ...
- 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.
dnprock
10 years agoFrequent Visitor
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.
premjitsaha
9 years agoFrequent Visitor
the link does not work