I have this array which contain a list of MediumID integers:-
And then i am getting some items from sharepoint, then i want to filter the sharepoint items with only the the one that have their MediumID inside the list of integers:-
I tried to use intersection length(intersection(outputs('Select-MediaIDs'), createArray(item()?['MediumID']))), but i got invalid query.. any advice?
I also tried to use "is equal to",, to compare Int to array of integers(hoping it will work),, but it did not:-


