Forum Discussion

SarahHuang's avatar
SarahHuang
New Member
4 years ago
Solved

Confusing with Power BI Data Color

hi, recently i meet with a problem when editing "Data Color" of Clustered Bar in Power BI Desktop. I can't find "Advanced Items" under "Data Color", so i can't configure condition format. Could you help to give me some feedback?
  • Hi, SarahHuang 

    When there are multiple value fields, legend is automatically generated to distinguish different fields. So you cannot set conditional formatting.
    The workaround is to use other visuals, such as matrix, so that you can apply conditional formatting to the fields.
    Or apply conditional formatting to data labels in Clustered Bar.
    Or create 2 Clustered Bar with one value field.

     

    Result:

    Hope this helps.

     

    Best Regards,
    Community Support Team _ Zeon Zheng


    If this post helps, then please consider Accept it as the solution to help the other members find it more quickly.

7 Replies

  • Anonymous's avatar
    Anonymous
    Not applicable

    Hi SarahHuang , have you added a field to the "Legend" series of the Clustered Bar?  If so, I don't believe conditional formatting is available, since the coloring is already being assigned based on the Legend series value.

     

    • SarahHuang's avatar
      SarahHuang
      New Member

      Exactly coloring is assigned to every value, but i can't find "Advanced controls" under "Color Data" to set up some rules for different color display.

       

  • Hi, SarahHuang 

    As Anonymous  mentioned above, remove the legend field and you will be able to set rules for color.

    Hope this helps.

     

     

    Best Regards,
    Community Support Team _ Zeon Zheng


    If this post helps, then please consider Accept it as the solution to help the other members find it more quickly.

    • SarahHuang's avatar
      SarahHuang
      New Member

      hi v-angzheng-msft Anonymous Thank you for your suggestion, but i confirmed there's no field under "Legend". My requiremnt is not to set different color to the bar, it is to display red color with the bar when the value is over standard value.

       

       

      • v-angzheng-msft's avatar
        v-angzheng-msft
        Community Support

        Hi, SarahHuang 

        When there are multiple value fields, legend is automatically generated to distinguish different fields. So you cannot set conditional formatting.
        The workaround is to use other visuals, such as matrix, so that you can apply conditional formatting to the fields.
        Or apply conditional formatting to data labels in Clustered Bar.
        Or create 2 Clustered Bar with one value field.

         

        Result:

        Hope this helps.

         

        Best Regards,
        Community Support Team _ Zeon Zheng


        If this post helps, then please consider Accept it as the solution to help the other members find it more quickly.

  • Is the "Data Color" option available only for some versions of Power BI? I don't have it in my formatting panel