Forum Discussion
Stacked bar chart column colors changing after save
- 1 year ago
Hi hazeltine ,
Power BI remembers and binds the color to the legend category when the legend is visible.That’s why your visual with legend doesn't change colors — it's anchored.
For the Visuals without the legend showing, Power BI may forget or reassign colors across saves/refreshes if the legend isn’t visible, because it has no visual cue to tie the color to the category.
Even though it remembers your color palette, it doesn’t always remember which color went to which category, especially in stacked visuals.
That's why its recommended to keep your legend on.
Hope this helps!If this answers your question, please Accept it as a solution and give it a 'Kudos' so others can find it easily.
Thank you!
Are you using any conditional formatting ?
- hazeltine1 year agoRegular Visitor
i added conditional columns to edit the legend order. strongly agree = 1, agree = 2, disagree = 3, then sorted by the number columns. i have another page in the same report that also has conditional columns to edit the legend order (same strongly agree = 1, agree = 2, disagree = 3), but that one doesn't change any colors when i save.
it seems like the visual with the legend showing doesn't change colors. it's supposed to be strongly agree = green, agree = blue, disagree = gold, but all the colors have been switching. it never switches to another color in the theme besides green, blue, or gold.