Supplies are limited. Contact info@espc.tech right away to save your spot before the conference sells out.
Get your discountScore big with last-minute savings on the final tickets to FabCon Vienna. Secure your discount
Hi,
I need to see if any values in a list appear in one column of a table.
I have got near with: if List.Contains(#"Animals",[Project Num]) then "yes" else "no"
but it misses out if the row contains other values i.e. row 1
It has to search inside the row to see if it exists within that row.
There is the Text.Contains which might help:
each if Text.Contains([Animal], "Cat") then "yes" else "no")
My actual list is 250, so I don't want to type each value in!
Would anybody have a solution?
Many thanks for looking.
Solved! Go to Solution.
List.Contains(#"Animals",[Project Num],(x,y)=>List.Contains(Text.SplitAny(y," ,"),x))
List.Contains(#"Animals",[Project Num],(x,y)=>List.Contains(Text.SplitAny(y," ,"),x))
Hi Daniel
That worked great!
Many thanks 🙂