Forum Discussion
Mikahel369
3 years agoFrequent Visitor
Compare two cells value
Hi there, my need is to color 2 cells of the same column if they have the same value; for example: REF COLORTHAT ABC THISYES DEF THISNO GHI THISYES thanks
- 3 years ago
Hi Mikahel369 ,
According to your description, here's my solution.
Create a measure.
Color = IF ( COUNTROWS ( FILTER ( ALL ( 'Table' ), 'Table'[COLORTHAT] = MAX ( 'Table'[COLORTHAT] ) ) ) > 1, "Red" )In the visualizations pane, select the drop-box of COLORTHAT, then click Conditional formatting>Font color.
Select the measure in the dialog.
Get the expected result:
I attach my sample below for your reference.
Best Regards,
Community Support Team _ kalyjIf this post helps, then please consider Accept it as the solution to help the other members find it more quickly.
AntrikshSharma
3 years agoCommunity Champion
Mikahel369 Coloring cells is not possible in Power Query.
- Mikahel3693 years agoFrequent Visitor
I'll move elsewhere... if I found how to