Forum Discussion
Conditional formatting by hierarchy in a matrix
- 5 years ago
Hi Anonymous
You can create a measure like below to format the colors. Then in conditional formatting window, select Format by Field value and Based on this Color Measure. You can use RGB color codes like "#00FF00" to replace the "Green" and "Red" color strings in the measure.
Color Measure = VAR QTY = SUM('Table'[Qty]) RETURN IF(NOT(ISINSCOPE('Table'[Level 2])),(IF(QTY<1,"Green","Red")))Regards,
Community Support Team _ Jing
If this post helps, please Accept it as the solution to help other members find it.
Hi Anonymous
You can create a measure like below to format the colors. Then in conditional formatting window, select Format by Field value and Based on this Color Measure. You can use RGB color codes like "#00FF00" to replace the "Green" and "Red" color strings in the measure.
Color Measure =
VAR QTY = SUM('Table'[Qty])
RETURN
IF(NOT(ISINSCOPE('Table'[Level 2])),(IF(QTY<1,"Green","Red")))
Regards,
Community Support Team _ Jing
If this post helps, please Accept it as the solution to help other members find it.
- Anonymous5 years agoNot applicable