Hi,
I have two lists,
ListA has Title and a lookup column(Department from listB) with multiple items allowed
ListB has Department(text) and Leader(Person)
In ListA you can create a record and list all departments which might follow this record.
in PowerApps i have a gallery i want to filter records in listA based on which records the department the logged-in user is leader for which is found in listB.
i tried setting a variable on visible that does lookup on logged in user and stores the department value in that variable
then on the filtering of the gallery i tried
Filter(ListA, variable in ‘LookupColumn’)
but that gave me an error «Invalid schema, expected a one column table»
Am I missing something or is what i am trying to do just a really silly way of doing it in the first place?
thanks