I have some trouble with the Filter function. I have two SharePoint lists. One called General Info which contains general employee infos with a column called EID - DataField = ye5n. The other list called HR which includes assigned tasks for HR department to complete with a column called Employee ID. For each employee, there are multiple tasks. I'm trying to create a filter for tasks based on employee. This is the formula I'm trying to use. There is no error but nothing shows up.
Filter(HR, BrowseGallery1.Selected.ye5n = Employee_x0020_ID)
I really appreciate if someone could help me solve the problem.
I have made a test on my side and don't have the issue that you mentioned.
Could you please share more details about columns and datas in the sharepoint lists?
Will the value in the ye5n column in the General Info list have a same value in the Employee ID column in the HR list?
Please make sure the value in the ye5n column in the General Info list have a same value in the Employee ID column in the HR list.
If the value in the ye5n column in the General Info list have a same value in the Employee ID column in the HR list, so the function that you used would get the filtered date back to the gallery, and then I afraid that you haven't choose a Layout for your Gallery.
You could choose your Gallery firstly, then you could choose the Layout for your Gallery as screenshot below:
Regarding how to customize a gallery in PowerApps, please follow the document below:
I used to have the employee ID in HR as "LookUp" but it didn't work. So I now have it as "Single line of text". Both of them are "Single line of text". I checked the Gallery Layout and changed it to a different Layout but it still didn't work.
Reopen responsibly, monitor intelligently, and protect continuously with solutions for a safer work environment.
Check out the winners of the recent 'Can You Solve These?' community challenge!
Join us for an in-depth look at the new Power Apps features and capabilities at the free Microsoft Business Applications Launch Event.
Featuring samples like Return to the Workplace and Emergency Response Applications
Features releasing from October 2020 through March 2021