Ok thanks-that makes sense as far as a single value is concerned 🙂 The LookUp() function is ideal for this!
But what if multiple matches might be found?
Eg:
Col_Fruit contains a column called Fruit_Name. Fruit_Name contains the following values:
"Orange"
"Apple"
"Apple"
"Apples"
"Pear"
Suppose I want to delete all 'Apple' entries.
I cannot use the following:
RemoveIf(Col_Fruit,"Apple" in Col_Fruit.Fruit_Name)
This would remove "Apples" as well as the "Apple" entries.
I cannot not use 'LookUp' here (as far as I can tell) since multiple records need to be removed.
I think that you explained a solution to this with the following. I just need to understand 2) a bit better.
<blockquote>
Please note that when comparing you should use these two types
1)value in table
2)field name=value
</blockquote>
I think I understand 1). "Apple" in Col_Fruit.Fruit_Name would be an example of this.
But I'm not sure I understand 2). Sorry if this sounds obvious, but how do I identify the field name in PowerApps? (Assuming field_name isn't a reserved keyword, of course)
Using the above example, the field name is whatever is contained for each record. So the field name of "Apple" is "Apple", etc...so the relevant syntax for 'field name = value' would be... "Apple" = "Apple"?
I think I just need some help clarifying this second point (point 2) but otherwise, thanks for the help so far.