Forum Discussion
Conditional format color of background based on text value, across multiple columns
- 7 years ago
Hi stuross1129,
If you use a Table visual to show data, you have to set conditional background colors for each column one by one. For example, to set conditional formatting for Step1, please create a measure first. If you have N columns, then, you need N mesaures.
Measure for step1 = IF(SELECTEDVALUE(Table2[Step1])="Yes",1,0)
As a workaround, you can unpivot table first in Query Editor mode, then, use a Matrix to analyse data.
Measure 2 = IF(SELECTEDVALUE('Table2 (2)'[Value])="Yes",1,0)Best regards,
Yuliana Gu
Hi stuross1129,
If you use a Table visual to show data, you have to set conditional background colors for each column one by one. For example, to set conditional formatting for Step1, please create a measure first. If you have N columns, then, you need N mesaures.
Measure for step1 = IF(SELECTEDVALUE(Table2[Step1])="Yes",1,0)
As a workaround, you can unpivot table first in Query Editor mode, then, use a Matrix to analyse data.
Measure 2 = IF(SELECTEDVALUE('Table2 (2)'[Value])="Yes",1,0)
Best regards,
Yuliana Gu