Forum Discussion
Change Bar Chart Colour based on slicer selection
- 8 years ago
Anonymous
I know how to get 3 different colors for 3 different categories but nor more than that :smileysad:
Basically you can use the Color Saturation Property of the Chart to define colors. Sample PBIX File is attached
Hey, thanks for this input. Where did you find this panel to input choices for default colour? I couldn't find it anywhere. Also, do you know if this also works for line graphs?
This is based off of a relatively new feature of conditional formatting they rolled out for charts. At this time, I have not found it to work for line charts.
If you hover over the title of the "Default Color" section of the "Data Colors" title, there should be a set of three dots to the right of the title that open up the conditional menu (see below screenshot). They only show up if you hover over the title so kind of hidden. I hope they make it more prominent in the future. Hope this helps.