So I have looked at this solution, but have not been able to apply it to my situation successfully.
https://powerusers.microsoft.com/t5/Building-Power-Apps/Filter-collection-by-values-of-another-collection/m-p/296436
I have a dataverse table that I have a filed of related record primary keys stored in a string separated by "::" (ie: SB22023-001001::SB22023-001061). I have successfully been able to split that string into a collection (colRelated, with a single column of SB2) I then add the record's own primary key because if I am looking at the parent record it will not have a value in the related field string.
Clear(colRelated);ForAll(Split(varRecordDetail.RelatedSB2Numbers, "::"), Collect(colRelated, {SB2: Result})); Collect(colRelated, {SB2: varRecordDetail.SB2Number})
So for an example let's say I was viewing the record with Primary Key "SB22023-001000" and in it's related string it had the value of "SB22023-001060::SB22023-001061" My collection would look like this:
SB2
SB22023-001060
SB22023-001061
SB22023-001000
I then want to take all the values of the collection and filter my data source for those values to display the records in a gallery. The link above had the below formula as the answer.
Filter(Table1,Column1 in Table2.Column2).Column1
I was substituting my data source for table 1, and my collection for table2, but when I tried that, intelisense would not give me the column name as a choice (ie: colRelated.SB2, the .SB2)