Join us for an expert-led overview of the tools and concepts you'll need to pass exam PL-300. The first session starts on June 11th. See you there!
Get registeredPower BI is turning 10! Let’s celebrate together with dataviz contests, interactive sessions, and giveaways. Register now.
Hello all,
i am surprised that i cant change the color of a line chart. I have a line chart and i change the color to blue. When i move a measure to the legend it changes back to green and the color button gets illuminated 😐 To change the color is not allowed any more. Maybe a bug? In the past it was never an issue.
Best regards
PS:
When i change the content of the measure with a slicer the colors change. I have no control of that.
Seems like a bug. For column line chart it works but there i dont get a title. It is necessary to use a column to get a title.
Solved! Go to Solution.
Hi @Pikachu-Power,
You are correct on what you refer, the trick here is to force the colors before having the selection on the slicer, has you can see on my image the color is still the same when I select A (Red) this is because I have forced the color on the settings with everything selected on the slicer.
When you have the stacked bar chart it also does not allow to format it when you have a selection because then the selection is not based on the Legend but on the axis values:
Regards
Miguel Félix
Proud to be a Super User!
Check out my blog: Power BI em PortuguêsHi @Pikachu-Power ,
You cannot change measures into the legend, so I assumer you refer a column correct? When you add a column to the legend then to change the colors you need to select each individual value of the legend to select the colors you need:
In my example the legends are dates.
Regards
Miguel Félix
Proud to be a Super User!
Check out my blog: Power BI em PortuguêsHi @MFelix ,
Yes Sorry it is a column i created it like following:
Are this values linkd with the ones on the line itself?
Regards
Miguel Félix
Proud to be a Super User!
Check out my blog: Power BI em PortuguêsHello @MFelix
in this created table i use following measure
Hi @Pikachu-Power ,
I tried to replicate your model and was abble to create a line chart and change the color using the series selection on each one.
See PBIX file attached.
Regards
Miguel Félix
Proud to be a Super User!
Check out my blog: Power BI em PortuguêsHi @MFelix
Thank you for recreating the issue. That is correct. Could you please put a slicer on the canvas and try it again?
Than it is not possible any more. But i can dissolve the filter, set the colors and set a filter again. This would provide a solution. But should this the normal way?
Something else: If you choose "All" the color is not controllable. Does that make sense?
Thank you!
Hi @Pikachu-Power,
You are correct on what you refer, the trick here is to force the colors before having the selection on the slicer, has you can see on my image the color is still the same when I select A (Red) this is because I have forced the color on the settings with everything selected on the slicer.
When you have the stacked bar chart it also does not allow to format it when you have a selection because then the selection is not based on the Legend but on the axis values:
Regards
Miguel Félix
Proud to be a Super User!
Check out my blog: Power BI em PortuguêsUser | Count |
---|---|
84 | |
78 | |
70 | |
47 | |
41 |
User | Count |
---|---|
108 | |
52 | |
50 | |
40 | |
40 |