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!Vote for your favorite vizzies from the Power BI Dataviz World Championship submissions. Vote 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
Vote for your favorite vizzies from the Power BI World Championship submissions!
If you love stickers, then you will definitely want to check out our Community Sticker Challenge!
Check out the January 2026 Power BI update to learn about new features.
| User | Count |
|---|---|
| 55 | |
| 52 | |
| 41 | |
| 16 | |
| 16 |
| User | Count |
|---|---|
| 108 | |
| 106 | |
| 39 | |
| 33 | |
| 25 |