March 31 - April 2, 2025, in Las Vegas, Nevada. Use code MSCUST for a $150 discount! Early bird discount ends December 31.
Register NowBe one of the first to start using Fabric Databases. View on-demand sessions with database experts and the Microsoft product team to learn just how easy it is to get started. Watch now
Hi,
What is the most efficient way to do the following calculated column ?
If Table[Column] contains text1, text2, text3, etc then Result1 else
If Table[Column] contains text4, text5, text6, etc then Result2
Can IN function be use to calculated columns ?
I tried the following but not sure if works or I should use other function ?
The criteria should be if column contains "SC", "CON","SI" then CON else
if column contains "AO", "BPO","IO" then OUT else
"OTHERS"
Thanks!
Solved! Go to Solution.
Hello,
CON or OUT =
IF (
'_List SG'[SG] IN { "SC", "CON", "SI" },
"CON",
IF ( '_List SG'[SG] IN { "AO", "BPO", "IO" }, "OUT", "OTHERS" )
)
Best regards,
ElenaN
Hello,
CON or OUT =
IF (
'_List SG'[SG] IN { "SC", "CON", "SI" },
"CON",
IF ( '_List SG'[SG] IN { "AO", "BPO", "IO" }, "OUT", "OTHERS" )
)
Best regards,
ElenaN
Hello,
You could try something like:
CON or OUT =
March 31 - April 2, 2025, in Las Vegas, Nevada. Use code MSCUST for a $150 discount!
Your insights matter. That’s why we created a quick survey to learn about your experience finding answers to technical questions.
Arun Ulag shares exciting details about the Microsoft Fabric Conference 2025, which will be held in Las Vegas, NV.
User | Count |
---|---|
124 | |
87 | |
85 | |
70 | |
51 |
User | Count |
---|---|
205 | |
153 | |
97 | |
79 | |
69 |