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
Hello friends,
Can you help me with how to write below formula properly please
I was thinking about is in ["ID 1","ID 2"] as we do in SQL queries.
Thank in advance.
Solved! Go to Solution.
Yes that's correct you can use a column from another table as the list for the 2nd argument
= if List.ContainsAny({[ID]} , Table2[ID]) then true else false
Regards
Phil
Proud to be a Super User!
Thank you @PhilipTreacy for your reply.
Is List.ContainsAny works with column as argument too?
Because what I really want is made the last argument of the function dynamic ie use the column of my dataset.
Below what I'm trying to do:
Yes that's correct you can use a column from another table as the list for the 2nd argument
= if List.ContainsAny({[ID]} , Table2[ID]) then true else false
Regards
Phil
Proud to be a Super User!
You can write this
= if List.ContainsAny({[ID]} , {1, 2, 3}) then true else false
regards
Phil
Proud to be a Super User!
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 |
---|---|
34 | |
30 | |
20 | |
19 | |
12 |