Forum Discussion
Peter_2020
5 years agoHelper III
Conditional formatting based on value in another column
Hi all, I would like to ask you for help with following issue: I have the table with 3 columns: CATEGORY TARGET PERFORMANCE 1 110% 109% 2 115% 110% 3 130% 140% And I...
- 5 years ago
Peter_2020 , Try like
if(max(table[PERFORMANCE]) <Max(Table[TARGET]) , "Red", "Green")
or
if(average(table[PERFORMANCE]) <average(Table[TARGET]) , "Red", "Green")
Peter_2020
5 years agoHelper III
Performance and Target are columns from imported excel table...
amitchandak
5 years agoSuper User
Peter_2020 , Try like
if(max(table[PERFORMANCE]) <Max(Table[TARGET]) , "Red", "Green")
or
if(average(table[PERFORMANCE]) <average(Table[TARGET]) , "Red", "Green")
- Peter_20205 years agoHelper III
It works!!! Thank you very much!
- Anonymous1 year agoNot applicable
Hi,
I'm new to Power bi.
Where are you inserting the "if" statement into?
Thanks.