Forum Discussion

hazeltine's avatar
hazeltine
Regular Visitor
1 year ago
Solved

Stacked bar chart column colors changing after save

The colors of columns in my stacked bar charts keep changing after i save, close, and reopen the report, or when i publish to a workspace. I go in and fix the colors but they keep changing back to th...
  • v-sdhruv's avatar
    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!