Forum Discussion
Anonymous97
3 years agoFrequent Visitor
Conditional formatting based on column values
Hello, I have requirement where I have to show blue color for only one cell in the matrix based on the other column value. For example- I have 2 columns named Measure 1 and measure 2. Whenever the ...
- 3 years ago
Hi Anonymous97 ,
Please follow these steps:
(1) Create a new measure
condition2 = IF ( [Measure2] = MAXX ( FILTER ( 'Table', [Measure1] = MAXX ( FILTER ( ALL ( 'Table' ), [lend] = MAX ( 'Table'[lend] ) && [Measure1] < [Parameter Value] ), [Measure1] ) ), [Measure2] ), "#118DFF" )(2) The end result
Best Regards,
Gallen Luo
If this post helps, then please consider Accept it as the solution to help the other members find it more quickly.
v-jialluo-msft
3 years agoCommunity Support
Hi Anonymous97 ,
Please follow these steps:
(1) Create a new measure
condition2 =
IF (
[Measure2]
= MAXX (
FILTER (
'Table',
[Measure1]
= MAXX (
FILTER (
ALL ( 'Table' ),
[lend] = MAX ( 'Table'[lend] )
&& [Measure1] < [Parameter Value]
),
[Measure1]
)
),
[Measure2]
),
"#118DFF"
)
(2) The end result
Best Regards,
Gallen Luo
If this post helps, then please consider Accept it as the solution to help the other members find it more quickly.