This time we’re going bigger than ever. Fabric, Power BI, SQL, AI and more. We're covering it all. You won't want to miss it.
Learn moreDid you hear? There's a new SQL AI Developer certification (DP-800). Start preparing now and be one of the first to get certified. Register now
Hi,
Can anyone please help me with the correct syntax of my attempt below please?
Solved! Go to Solution.
Hi @KC_1987
Try Switch.
C_Depth =
SWITCH(
TRUE(),
TV[TUV] = "New", "TUV",
TV[SBV] = "New", "SBV",
TV[EWR] = "New", "EWR",
TV[LC] = "New", "LC"
)
Regards,
Mariusz
If this post helps, then please consider Accept it as the solution to help the other members find it more quickly.
Hi @KC_1987
Try Switch.
C_Depth =
SWITCH(
TRUE(),
TV[TUV] = "New", "TUV",
TV[SBV] = "New", "SBV",
TV[EWR] = "New", "EWR",
TV[LC] = "New", "LC"
)
Regards,
Mariusz
If this post helps, then please consider Accept it as the solution to help the other members find it more quickly.
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.
| User | Count |
|---|---|
| 37 | |
| 37 | |
| 31 | |
| 21 | |
| 16 |
| User | Count |
|---|---|
| 66 | |
| 56 | |
| 31 | |
| 26 | |
| 23 |