This time we’re going bigger than ever. Fabric, Power BI, SQL, AI and more. We're covering it all. You won't want to miss it.
Learn moreDid you hear? There's a new SQL AI Developer certification (DP-800). Start preparing now and be one of the first to get certified. Register now
Happy new year datanuts!
I have a question...
When using a matrix, is it possible to have conditional formatting based on values in two columns? I'll try my best to explain...
For example:
Row column Value 1 Value 2
Row 1 10 11
Row 2 9 12
Row 3 15 30
I would like the 'Value 1' of 'Row 2' .. (9).. to show in red, as the actual value is lower than the 'Value 2' of that same row.
I tried using the conditional formatting option, but could not find a way for it to work.
Thanks,
Solved! Go to Solution.
One Way to do is to create a calculated column using below formaula. This will return 1,0,-1 based on positve, zero and negative result. Then use this column for Conditional Formatting using Rules.
Do share complete data if it doesn't work or your requirement is different.
Column = sign(Table5[Value2] - Table5[Value1])
Regards
AJ
Do Like Post if response seems good and Worth liking.
Do Mark as Solution if response resolved your Issue.
One Way to do is to create a calculated column using below formaula. This will return 1,0,-1 based on positve, zero and negative result. Then use this column for Conditional Formatting using Rules.
Do share complete data if it doesn't work or your requirement is different.
Column = sign(Table5[Value2] - Table5[Value1])
Regards
AJ
Do Like Post if response seems good and Worth liking.
Do Mark as Solution if response resolved your Issue.
Perfect!
Exactly what I needed.
Check out the April 2026 Power BI update to learn about new features.
Sign up to receive a private message when registration opens and key events begin.
If you have recently started exploring Fabric, we'd love to hear how it's going. Your feedback can help with product improvements.
| User | Count |
|---|---|
| 35 | |
| 32 | |
| 27 | |
| 23 | |
| 16 |
| User | Count |
|---|---|
| 65 | |
| 50 | |
| 30 | |
| 25 | |
| 24 |