Forum Discussion
Power BI visualitzion
I'm drawing a bar graph and line graph in Power BI Desktop.
I've set the bar colors for items a through e to blue for values less than 0 and red for values greater than 0.
However, I want to change the marker colors for the indicators in the legend. If you know how, please let me know.
You can’t change legend marker colors separately in Power BI.
Change them via Format → Data colors (affects both chart + legend).
If you need different/custom colors → turn off legend and make a custom legend table/shape.
3 Replies
- Shahid12523Community Champion
You can’t change legend marker colors separately in Power BI.
Change them via Format → Data colors (affects both chart + legend).
If you need different/custom colors → turn off legend and make a custom legend table/shape.
- ericjoHelper III
I'm not sure if this is the right way, but I think I found a trick to change it.
1. Set the column color to increase or decrease using fx.
2. Add the measurement values in the column to the line.
3. Change the line color of the measurement values in the line.
(This will also change the color of the existing column values.)
4. Remove the measurement values in the line.
- v-sshirivoluCommunity Support
Hi ericjo ,
Thanks for raising this question, and also a big thanks to Shahid12523 for actively sharing solutions in the community, your contributions are really valuable.
ericjo did you get a chance to review the information provided? Please feel free to reach out if you have any further questions.