Fabric is Generally Available. Browse Fabric Presentations. Work towards your Fabric certification with the Cloud Skills Challenge.
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!
Check out the November 2023 Power BI update to learn about new features.
Read the latest Fabric Community announcements, including updates on Power BI, Synapse, Data Factory and Data Activator.
Join us for a free, hands-on Microsoft workshop led by women trainers for women where you will learn how to build a Dashboard in a Day!