I have several data sources in my app. One list has departments and people. My app has some filters already set on the gallery but I would like to PRE-FILTER the list based on Department and to the user within that department.
Filter(
'Receiving Requests',
Len(drptypeDepartment_1.Selected.Value) = 0 || Department.Value = drptypeDepartment_1.Selected.Value,
Len(cmbAssignedTo_1.Selected.DisplayName) = 0 || AssignedTo.DisplayName = cmbAssignedTo_1.Selected.DisplayName,
Len(TxtPO.Text) = 0 || StartsWith(
'PO#',
TxtPO.Text
),
Len(TxtID.Text) = 0 || StartsWith(
ID,
TxtID.Text
)
)
This the my current filter and it works great! Below is my app. The two fields in the other list are Department and Receiver. As always any help is appreciated.