Forum Discussion

irushidm's avatar
irushidm
Advocate I
9 years ago

Conditional formatting in a table

Hi how can you use conditional formatting to colour the cell where actual positive performance in green and negative performance in red for each indicator against the budget.

 

TypeSaleGross ProfitNP
Budget1000600200
Actual1100 (Green)590 (Red)190 (Red)

 

4 Replies

  • v-viig's avatar
    v-viig
    Community Champion

    Hello irushidm,

     

    Could you please clarify you used Power BI Table visual or developed your own table custom visual?

     

    Ignat Vilesov,

    Software Engineer

     

    Microsoft Power BI Custom Visuals

    [email protected]

    • irushidm's avatar
      irushidm
      Advocate I

      Hi what i have shown above is something i did on MS word. With the power BI table/matrix visual i am unable to colour status of the actual performance which is depicted in the second row. If its lower than budget the background colour of the cell/font colour should be red and if its above budget background colour of the cell/font colour should be green. I want to be able present data in that format. Is this possible with Power BI? This is similar to the conditional formatting availble in Excel.

       

      Thanks

      • v-viig's avatar
        v-viig
        Community Champion

        irushidm

         

        As far as I know it's impossible unfortunately.

        Power BI table and matrix visuals aren't custom ones. Could you please create a question here?

    • =if(actual sale>=1000,green,red) than it can be put as field value (Fx)