Hello. I'm attempting to add a column from one Sharepoint List to a collection "joined" by a 'Case ID' to be used in searching. The problem is the new collection is only pulling the first item in the column rather than all associated items based on the Case ID. If there is a better way to do this please let me know as I'm stumped. Thank you
ClearCollect(viewCollection, (AddColumns('Basic Case Information',"Name",LookUp('Name Information', 'Case ID'='Basic Case Information'[@'Case ID'],'Name'))));
Example:
Basic Case Information
Case ID: 1234
Case ID: 1235
Name Information
Case ID: 1234 / Name: John, Joe, Jenny
Case ID: 1235 / Name: Shaun, Sam, Sarah
viewCollection:
Case ID: 1234 / Name: John
Case ID: 1235 / Name: Shaun