Forum Discussion

Anonymous's avatar
Anonymous
Not applicable
3 years ago
Solved

Conditional formatting formula

I want to conditionally format all rows in my table based on the value contained within one column. I know this can be done by creating a dax formula and then applying it to each column separately but I don't know how to write the formula.

 

COLUMN A has a calculated number in it

 

I would like help writing the formula for the following:

 

If the number in COLUMN A is greater than 180, then it should be #f99d9d

If the number in COLUMN A is between 90 and 179, it should be #f9cb9d

If the number in COLUMN A is between 0 and 89, it should be #9df99d

 

 

  • Anonymous You should just be able to use Conditional formatting for the column configured as the screen shot below. Additional screen shots show how to implement the conditional formatting.

     

2 Replies

  • Greg_Deckler's avatar
    Greg_Deckler
    Community Champion

    Anonymous You should just be able to use Conditional formatting for the column configured as the screen shot below. Additional screen shots show how to implement the conditional formatting.

     

  • Anonymous's avatar
    Anonymous
    Not applicable

    Thanks Greg_Deckler 

     

    I was hoping there was a faster way but I used this approach and it worked just fine.  Thanks again!