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!To celebrate FabCon Vienna, we are offering 50% off select exams. Ends October 3rd. Request your discount now.
Hi,
Use the below expression. The value of Left or Remained is considered a number.
Result =
SWITCH (
'Table'[Left or Remained],
1, 'Table'[Resident - Left Housing],
2, "FALSE"
)
Result =
SWITCH (
TRUE (),
Eth[Ethnicity] IN { "A", "B", "H", "I", "M", "P" }, "ALANA",
Eth[Ethnicity] = "N", "International",
Eth[Ethnicity] = "C", "White",
"Unknown"
)
Thanks
Hari
Hi,
Use the below expression. The value of Left or Remained is considered a number.
Result =
SWITCH (
'Table'[Left or Remained],
1, 'Table'[Resident - Left Housing],
2, "FALSE"
)
Result =
SWITCH (
TRUE (),
Eth[Ethnicity] IN { "A", "B", "H", "I", "M", "P" }, "ALANA",
Eth[Ethnicity] = "N", "International",
Eth[Ethnicity] = "C", "White",
"Unknown"
)
Thanks
Hari