I want to 'delete' records in table2
if they are found in table1
PowerApps complains that Table2 is not a Collection
Here is the code;
Please consider changing your Formula to the following:
ForAll(Table1, RemoveIf(Table2, Table2_ID=Table1_ID) );
This should give you what you want.
I hope this is helpful for you.
I did try that too, but still complaining that it should be a Collection
* What I finally did is to change the Table2 into a Collection, and kept only Table1 as a Table
Thus Remote & RemoteIf seems to work only on Collection, but in the PowerApps Documentation it says "data source" Tables & Collections...
Now I will try again on an empty test App to see if your statement works, just to make sure it is nothing wrong on my App that give that error message with Collection required
A collection is not required. This can be a datasource and we use this formula ALL the time without issue.
Make sure you don't have some other item in your App that is called Table2 - check your Variables and Collections to make sure you are actually dealing with the datasource and not something else.
EDIT: Oh and I do assume you are using pseudo names in your examples as there are other factors involved if you are trying to use that exact formula.
Check out the News & Announcements to learn more.
Did you know that you can visit the Power Query Forum in Power BI and now Power Apps
Power Platform release plan for the 2021 release wave 2 describes all new features releasing from October 2021 through March 2022.
Check out our new Discover Your Career Path blog post series and get all the details.