conditional formatting column
2 TopicsIs it possible to get alternate font colors on the values in a column based on another column?
Hello d_gosbell , I am currently using Power BI Report Server Desktop (January 2022) Version. I've created this Pivot Table visual. The Table Name of the below is 'Table C'. % column = CALCULATE(DIVIDE(SUM('Table C'[Value2]), SUM('Table C'[Value]),0), ALLEXCEPT('Table C', 'Table C'[ID])) So basically, as shown in the table below, For ID = A, there are 2 categories (10% and 100%), for each category each column has a particular value. In the % column, basically we want to calculate Value2/ Value for both the categories 10% and 100% and show the overall % for this specific ID = A. The same is shown below, The main question is, in this % column, for ID=A, for both categories the overall % value is 1.13, but as we cannot merge the 2 rows in 1 cell. Is it possible to change font colors of alternate values in this % column? We can base it on the condition that in the % column, if the Category = 10%, we can make the font color 'red' and the other category (100%) font color can be 'blue'. Is it possible to do the above, and how? Thanks for your support in advance!Solved866Views0likes4CommentsMultiple Conditions for Conditional Background Fill of Cells
I am trying to get a column in my table to have a condition that if the value in it is the string "+ve" then the background is blue, and if the string is the word "-ve" then it is filled with Silver. This works when putting in only one condition as: =((IIF(Fields!ID2017.Value="-ve","Silver","No Color")) However, when attempting to put the second condition in as follows I either get an error or only the first condition works: =((IIF(Fields!ID2017.Value="-ve","Silver","No Color")) Or (IIF(Fields!ID2017.Value="+ve","Blue","No Color"))) I have also tried: =((IIF(Fields!ID2017.Value="-ve","Silver","No Color")) And (IIF(Fields!ID2017.Value="+ve","Blue","No Color"))) would really appreciate if someone was able to help!Solved1.2KViews0likes2Comments