Skip to main content
cancel
Showing results for 
Search instead for 
Did you mean: 

Score big with last-minute savings on the final tickets to FabCon Vienna. Secure your discount

Reply

How to change the line color on overlapped charts

Hello,

 

I want to make a overlapped chart (line and stacked bar) in Power BI.  Here are the steps: (1) I made a line chart (3 lines), then unchecked 2 legend, only one line on the chart (1 legend) (2) I copied the line chart and pasted/changed to a new stacked bar chart, checked the uncheked 2 legend to show on the bar (3) then I overalpped line (back)  and stacked bar (front), please see below screen shot.  I already changed the stacked bar color to green and yellow. My question: how to chagne the purple line to black color.  FYI, they are using the same filter/format/build pane.  when I tried to change the line color, the function is not clickedable, please see below screen shot.  

BarbaraYanChen_0-1736550942460.png

BarbaraYanChen_0-1736551528518.png

 

Thanks,

 

Barbara

 

 

1 ACCEPTED SOLUTION
Anonymous
Not applicable

Hi @BarbaraYanChen ,

 

Here I create a sample to have a test and I could reproduce your issue. It seems that you cannot modify the color of the line if the field you are using as 'Legend' has only one type.

vrzhoumsft_0-1736759168815.png

Here I suggest you to remove the filter in legend and change the line color to black and then check the one legend

you need.

vrzhoumsft_1-1736759302121.pngvrzhoumsft_2-1736759311461.png

 

Best Regards,
Rico Zhou

 

If this post helps, then please consider Accept it as the solution to help the other members find it more quickly.

View solution in original post

3 REPLIES 3
Anonymous
Not applicable

Hi @BarbaraYanChen ,

 

Here I create a sample to have a test and I could reproduce your issue. It seems that you cannot modify the color of the line if the field you are using as 'Legend' has only one type.

vrzhoumsft_0-1736759168815.png

Here I suggest you to remove the filter in legend and change the line color to black and then check the one legend

you need.

vrzhoumsft_1-1736759302121.pngvrzhoumsft_2-1736759311461.png

 

Best Regards,
Rico Zhou

 

If this post helps, then please consider Accept it as the solution to help the other members find it more quickly.

Hi Rico,

 

Thanks for providing your solution. It worked.  Really appreicated it!

 

Barbara

N0EL
Resolver I
Resolver I

Hey @BarbaraYanChen 

 

Are you able to change the color of you change the series from "All" to the series you are displaying?

2025-01-10_18-24-18.png

 

Helpful resources

Announcements
August Power BI Update Carousel

Power BI Monthly Update - August 2025

Check out the August 2025 Power BI update to learn about new features.

August 2025 community update carousel

Fabric Community Update - August 2025

Find out what's new and trending in the Fabric community.

Top Solution Authors