Hi,
I am trying to find a way to what would have been a join in SQL between two SharePoint lists.
I have a users list that has a column to say if a user is archived or not and a list that has staff performance reviews.
I would like to be able to filter a summary gallery that I have made of the progress of these performance reviews but I do not want it to include any staff that have been archived since they started their performance review.
At the moment I have tried the following:
ClearCollect(
col_TeachingReviews,
AddColumns(
Filter(
LS_SR_Teaching,
ReviewCycle = v_CurrentCycleT.ReviewCycle
),
"IsArchived",
LookUp(
LS_PA_Users,
Archived="N" And
Bromcom_Staff_ID in LS_SR_Teaching[@RevieweeID],
Archived
)
)
);
However it does not want to work and seems to just add a column called IsArchived with N as the cell value for everyone even the staff that are archived in the LS_PA_Users list.
I am obviously not doing this correctly. Has anyone got any advice or a different way to do this.
Thanks
Mike