Forum Discussion

atul9063's avatar
atul9063
Helper III
7 years ago
Solved

Conditional formatting on Rows

Hi ,

 

I want below color formating on rows .I want either font or background color according to status value.I m not able to achieve this any help please.

 

 

 

 

 

 

 

 

Thanks

 

  • atul9063's avatar
    atul9063
    7 years ago

    TomMartens Thanks for replying

     

    I have used below approach.

     

    I have created Color Table with Color Id and Color Name Columns

9 Replies

  • Hey,

     

    this is my table

     

    using conditional formatting on column this ...

     

    ... like so ...

     

    ... creates this output (i already did the same for the column that) ...

     

    Important: you have to use a Power BI Desktop version that supports Conditional Formatting by "Field value", this feature has been introduced in Power BI Desktop with the August 2018 release, as I'm using the October release - it's there. You may have to consider to upgrade your current Power BI Desktop version if your version does not this option.

    This blog post by Chris Webb lists the supported color names: https://blog.crossjoin.co.uk/2018/08/10/colour-names-supported-in-power-bi-conditional-formatting/

     

    Please be aware, that there is a little glitch (but does not have any effect on functionality) within the dialog of the Conditional Formatting, but this will be fixed soon. Whenever you make the setting for the Conditional Formatting the dialog will look similar to this:

     

    Hopefully this is what you are looking for!

     

    Regards,

    Tom

     

     

    • atul9063's avatar
      atul9063
      Helper III

      TomMartens Thanks for replying

       

      I have used below approach.

       

      I have created Color Table with Color Id and Color Name Columns

      • Anonymous's avatar
        Anonymous
        Not applicable

        this solution doesn't work 

  • Currently there is no cappibility for custom formatting text, but you could create a custom column which inserts a number for each color. Then you can create a custom formatting rule using your custom column.