Hi @DanielPowerUser
In addition to @Cooper01 's response:
If you would like to add the value for the inBoth column to false in case it's not in both columns, you just need to complete the If() with the false parameter, like so:
ForAll(
ItemsFromCollection1,
If(ThisRecord.Title in ItemsFromCollection2.Title,
Collect(colMatch,{Record: ThisRecord,inBoth: false}),
Collect(colMatch,{Record: ThisRecord,inBoth: true})
)
)
Furthermore, if you'd like to have a new collection that only has some coluimns, including the inBoth and they should all be next to each other rather than as a table in a collection, you could use this:
ForAll(
ItemsFromCollection1,
If(ThisRecord.Title in ItemsFromCollection2.Title,
Collect(colMatch,{Record: ThisRecord.Title,inBoth: false}),
Collect(colMatch,{Record: ThisRecord.Title,inBoth: true})
)
)
Kind regards,
Fabian