Join us at FabCon Atlanta from March 16 - 20, 2026, for the ultimate Fabric, Power BI, AI and SQL community-led event. Save $200 with code FABCOMM.
Register now!The Power BI Data Visualization World Championships is back! Get ahead of the game and start preparing now! Learn more
Hi Team,
I have a matrix table as displayed below.
The Performance Column is a measure and the Target column is a column from the raw data.
When the Performance > Target I want the background to be red.
When the Performance < Target I want the background to be green.
Could anyone please help me out?
Thank you
| Measure | Column | |
| Year | Performance | Target |
| 2015 | 11 | 10 |
| 2016 | 8 | 9 |
| 2017 | 6 | 8 |
| 2018 | 4 | 7 |
| 2019 | 3 | 6 |
Solved! Go to Solution.
@TomMartens solved the issue in another post.
Conditional_Value = If(HASONEVALUE('Table A'[NAME]),
IF(
[Current_Value]>SUM('Table B'[HI HI (red)])
, "#FF0000"
, "#008000"
)
)
Thanks Tom!
@TomMartens solved the issue in another post.
Conditional_Value = If(HASONEVALUE('Table A'[NAME]),
IF(
[Current_Value]>SUM('Table B'[HI HI (red)])
, "#FF0000"
, "#008000"
)
)
Thanks Tom!
The Power BI Data Visualization World Championships is back! Get ahead of the game and start preparing now!
| User | Count |
|---|---|
| 51 | |
| 42 | |
| 34 | |
| 33 | |
| 21 |
| User | Count |
|---|---|
| 143 | |
| 125 | |
| 100 | |
| 80 | |
| 61 |