Forum Discussion
JoyceW
4 years agoHelper II
Conditional formatting on specific row in matrix based on the value in that row
Hi, I've created a P&L statement in Power BI, by using a model in Excel and used that for a matrix table. This is the model: Then I created several measures. The measure that i...
- 4 years ago
Try:
color = IF ( AND ( MAX ( MODEL_RESREK[Item_lay-out] ) = "NETTO-RESULTAAT", [BEDRAGEN] < 0 ), "Red", IF ( AND ( MAX ( MODEL_RESREK[Item_lay-out] ) = "NETTO-RESULTAAT", [BEDRAGEN] > 0 ), "Green", "White" ) )
DataZoe
4 years agoMicrosoft Employee
Have you tried something like this:
color =
SWITCH( TRUE(),
max(MODEL_RESREK[Item_lay-out]) ="NETTO-RESULTAAT", "Yellow",
[BEDRAGEN] > 0, "Green",
[BEDRAGEN] < 0, "Red",
"White"
)
- JoyceW4 years agoHelper II
Hi, this somehow turned all the other rows green and the row NETTO-RESULTAAT is still yellow. 🙂