Join us for an expert-led overview of the tools and concepts you'll need to pass exam PL-300. The first session starts on June 11th. See you there!
Get registeredPower BI is turning 10! Let’s celebrate together with dataviz contests, interactive sessions, and giveaways. Register 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!