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 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
The Power BI Data Visualization World Championships is back! Get ahead of the game and start preparing now!
| User | Count |
|---|---|
| 38 | |
| 37 | |
| 34 | |
| 31 | |
| 27 |
| User | Count |
|---|---|
| 136 | |
| 99 | |
| 73 | |
| 66 | |
| 65 |