Forum Discussion
powertron
3 years agoNew Member
Showing Consistent Colors on a Graph Legend
Hi, I have a bar graph which is showing values from a table, this graph has a date range which can be lowered/increased to show information over different timeframes. Standard stuff so far. Whe...
MAwwad
3 years agoSolution Sage
Yes, you can manually set the colors for each category in the legend of your Power BI bar graph. Here's how to do it:
- Click on the bar graph visualization to select it.
- In the Visualizations pane, click on the Format tab.
- Expand the "Data colors" section.
- By default, the colors will be set to "Automatic". To set your own colors, click on "Custom colors".
- In the "Custom colors" section, click on the dropdown arrow next to the category you want to set a color for.
- Choose "Specific color" and select the color you want to use for that category.
- Repeat this process for each category in the legend.
Once you have set the colors for each category, they will remain consistent regardless of the data being displayed.
Note: If you add new categories to your data, you will need to manually set the colors for those categories as well.
Robert1981
2 years agoHelper III
I have stacked car chart with only top 7 selection. I know how to change the colors, but that is only for the initial selection. When I change slicer, I get different colors. How do I keep the colors consistent?