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!View all the Fabric Data Days sessions on demand. View schedule
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
Check out the November 2025 Power BI update to learn about new features.
Advance your Data & AI career with 50 days of live learning, contests, hands-on challenges, study groups & certifications and more!