Forum Discussion

franorio's avatar
franorio
Helper III
9 years ago
Solved

Color formatting

Hello everybody, 

got a clustered column chart visualization with 5 values, each value is a measure i created, each for a different table.

Want to add a color saturation to give the chart columns a color if it reachs determinated % (over 90% green, under 90% red).

 

Can´t add any value of any of the 5 table to the color saturation field. What would your recommend, should i create a new column/measure/table to add to this color saturation field??

 

 

  • Anonymous's avatar
    Anonymous
    9 years ago

    Hi franorio,

     

    >>, how should i charge the table in order to parametrize colors in red, yellow and green according to the scale?

    You can download the sample pbix file, it contain the description of how to use the visual.

     

    Color palette of distribution can be changed using property “Colorbrewer” of the formatting panel (available values: YlGn, YlGnBu, GnBu, BuGn, PuBuGn, PuBu, BuPu, RdPu, PuRd, OrRd, YlOrRd, YlOrBr, Purples, Blues, Greens, Oranges, Reds, Greys, PuOr, BrBG, PRGn, PiYG, RdBu, RdGy, RdYlBu, Spectral, RdYlGn, Paired, Pastel1, Set1, Set3).

     

    Regards,

    Xiaoxin Sheng

4 Replies

  • Anonymous's avatar
    Anonymous
    Not applicable

    Hi franorio,

     

    Current, power bi not support to detail color formatting.

     

    >>Want to add a color saturation to give the chart columns a color if it reachs determinated % (over 90% green, under 90% red).

    I'd like to suggest you vote below ideas or use table heat map visual:

    Custom Color Formating

     

    Regards,

    Xiaoxin Sheng

  • Hi franorio

    Anonymous is right, in the chart visualization power bi doesn't allow you to that flexibility but there is a turn around way to achieve that in the Table.

     

    This is the coloring table:-

     

     

    Power BI Table showing color codes according to the Table above

     

     

     

     

    • franorio's avatar
      franorio
      Helper III

      thanks kaushikd for your answer, didn't follow you at all on how should i do to customize the colors on my heatmap. Due there isn't an option in the format menu to customize color, how should i charge the table in order to parametrize colors in red, yellow and green according to the scale?

       

      Thanks & Regards!

       

      • Anonymous's avatar
        Anonymous
        Not applicable

        Hi franorio,

         

        >>, how should i charge the table in order to parametrize colors in red, yellow and green according to the scale?

        You can download the sample pbix file, it contain the description of how to use the visual.

         

        Color palette of distribution can be changed using property “Colorbrewer” of the formatting panel (available values: YlGn, YlGnBu, GnBu, BuGn, PuBuGn, PuBu, BuPu, RdPu, PuRd, OrRd, YlOrRd, YlOrBr, Purples, Blues, Greens, Oranges, Reds, Greys, PuOr, BrBG, PRGn, PiYG, RdBu, RdGy, RdYlBu, Spectral, RdYlGn, Paired, Pastel1, Set1, Set3).

         

        Regards,

        Xiaoxin Sheng