Don't miss your chance to take the Fabric Data Engineer (DP-600) exam for FREE! Find out how by watching the DP-600 session on-demand now through April 28th.
Learn moreJoin the FabCon + SQLCon recap series. Up next: Power BI, Real-Time Intelligence, IQ and AI, and Data Factory take center stage. All sessions are available on-demand after the live show. Register now
Hello,
I'm having a bit of trouble with something and I was hoping you could help me out. I'm trying to add a conditional format to the background of my matrix table, but it's giving me some errors. The error message is super unhelpful and it's not telling me what's wrong or how to fix it. I've been trying to add it as a column, but for some reason, it's not working at the table level. So, I thought maybe I could give adding a measure a shot. Any suggestions on how to tackle this?
Method
Error
Code
Color_Idlev =
SWITCH(
TRUE(),
VALUES(Data[Support Title]) = "Technical Support Engineer"
&& AVERAGE(Data[Idle (Hrs)]) >= 45,
"#6082B6",
VALUES(Data[Support Title]) = "Advanced Technical Support Engineer"
&& AVERAGE(Data[Idle (Hrs)]) >= 45,
"#6082B6",
VALUES(Data[Support Title]) = "Senior Technical Support Engineer"
&& AVERAGE(Data[Idle (Hrs)]) >= 75,
"#6082B6",
""
)Links
Files
https://drive.google.com/file/d/1rlnDUc3cYCgsuUyXYzfzA52YnKZpHIbH/view?usp=sharing
Data
https://drive.google.com/file/d/1KC6chRm9q4aBH2FqDCvKto6_4PpJmCeu/view?usp=sharing
Thank you so much
Solved! Go to Solution.
Hi @Zack92
In your SWITCH try using SELECTEDVALUE insead of VALUES
Phil
Proud to be a Super User!
Hi @Zack92
In your SWITCH try using SELECTEDVALUE insead of VALUES
Phil
Proud to be a Super User!
Check out the April 2026 Power BI update to learn about new features.
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.
| User | Count |
|---|---|
| 45 | |
| 38 | |
| 34 | |
| 21 | |
| 17 |
| User | Count |
|---|---|
| 66 | |
| 65 | |
| 31 | |
| 26 | |
| 26 |