Join us at FabCon Atlanta from March 16 - 20, 2026, for the ultimate Fabric, Power BI, AI and SQL community-led event. Save $200 with code FABCOMM.
Register now!The Power BI Data Visualization World Championships is back! Get ahead of the game and start preparing now! Learn more
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.
Solved! Go to Solution.
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.
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.
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.
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.
The Power BI Data Visualization World Championships is back! Get ahead of the game and start preparing now!
| User | Count |
|---|---|
| 38 | |
| 37 | |
| 33 | |
| 32 | |
| 29 |
| User | Count |
|---|---|
| 132 | |
| 88 | |
| 82 | |
| 68 | |
| 64 |