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!Learn from the best! Meet the four finalists headed to the FINALS of the Power BI Dataviz World Championships! Register now
Hi All,
Conditional formatting based on 1 column field and calculated measure
i m trying to implement a conditional formatting, to change the background color of a matrix cell.
My code is
Condition_first_reply_time_50 = SWITCH(TRUE(); FactTickets[requesttyp]="question" && [First Reply Time (hrs)50%] >= 8; "Red"; FactTickets[requesttyp]="change" && [First Reply Time (hrs)50%] >= 8; "Red"; FactTickets[requesttyp]="service" && [First Reply Time (hrs)50%] >= 8; "Red"; FactTickets[requesttyp]="incident" && [First Reply Time (hrs)50%] >= 4 ; "Red"; "#83BC00")
Hi @mofai ,
I tested with above formula, it set conditional colors as expected.
Best regards,
Yuliana Gu
Share feedback directly with Fabric product managers, participate in targeted research studies and influence the Fabric roadmap.
Check out the February 2026 Power BI update to learn about new features.
| User | Count |
|---|---|
| 68 | |
| 60 | |
| 45 | |
| 19 | |
| 15 |
| User | Count |
|---|---|
| 108 | |
| 107 | |
| 39 | |
| 30 | |
| 26 |