Forum Discussion

DolEgon22's avatar
DolEgon22
Advocate II
8 years ago

Data colors do not save

I'm working with a line chart that I have assigned specific data colors to one of the categories. I save the PBIX close and reopen and the colors change! 

 

Before:

 

After:

 

Is this a bug or a "feature"? Has anyone else run into this?

 

Also, this behavior also occurs after publishing to PowerBI.com--the published report has different data colors than the PBIX. 

 

7 Replies

  • BrettShaver's avatar
    BrettShaver
    Frequent Visitor

    I am seeing the same annoying behavior - and 3 years later!  Definitely need to have manual color override whatever PBI determines is the color. 

     

    Has this really not been resolved since this post in 2017?

    • yerdaman's avatar
      yerdaman
      Advocate I

      Same annoying behaviour here (Dec 2020).

       

      A theme change to alter font colour on 'applied filter' allows the change but, on reopening, the change reverts back.

  • DolEgon22

    I haven't noticed this all these days since the Nov update. Even I see this happening to my Line charts.

    For me it's not a big issue, but would like find out why is this happening.

     

    Regards,

    pxg08680

    • DolEgon22's avatar
      DolEgon22
      Advocate II

      Further testing reveals that this still happens with version 2.52.4921.682.

       

      Another odd behavior that's associated:

      • Edit line chart data colors
      • Save and close
      • Open PBIX
      • See that data colors have changed
      • Change to a different report tab and back again, and the colors change again

      Also, the colors don't seem to change if I use a color from the pallette. If I add a custom color, that seems to cause the colors to change when reopening. 

      • DolEgon22's avatar
        DolEgon22
        Advocate II

        Saw this in another thread:

         

        Colors are selected via the following heuristics

        Static measure series will grab colors from the theme starting as position zero. There is no cross-visual sharing of colors for static series.
        Dynamic series will use a first-come first-served shared color palette for category. So a specific category will always be the same color (e.g. red) on all visuals. However, depending on load timing, it may be green on all visuals the next time you (or someone else) view it.

         

        Now this makes sense, although I would fully expect that if I manually change a color, that it would take precedence over any "heuristics".