Hello all,
I have seen many examples of people using multiple gallery functions such as search, filter, and sort. However, I have not come across any examples of people using those functions along with filtering the gallery by the current logged-in user. Is that something that is possible? Does anyone have an example of someone achieving this?
When I try in my code, it affects the search and sort functionality and does not properly load the list. But I can use those functions separately (one or the other)
If (
Dropdown2_1.Selected.Value = "All" && MySearch.Text = "",
'Approvals List',
Dropdown2_1.Selected.Value = "All" && MySearch.Text <> "",
Filter (
'Approvals List',
MySearch.Text in 'Request#',
'Created By'.Email = User().Email
),
Dropdown2_1.Selected.Value <> "All" && MySearch.Text = "",
Filter (
'Approvals List',
Status.Value = Dropdown2_1.Selected.Value,
'Created By'.Email = User().Email
)