We've captured the moments from FabCon & SQLCon that everyone is talking about, and we are bringing them to the community, live and on-demand. Starts on April 14th. Register now
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!
If you have recently started exploring Fabric, we'd love to hear how it's going. Your feedback can help with product improvements.
A new Power BI DataViz World Championship is coming this June! Don't miss out on submitting your entry.
Share feedback directly with Fabric product managers, participate in targeted research studies and influence the Fabric roadmap.
| User | Count |
|---|---|
| 53 | |
| 38 | |
| 33 | |
| 15 | |
| 15 |
| User | Count |
|---|---|
| 64 | |
| 63 | |
| 37 | |
| 36 | |
| 22 |