Hello,
I want to filter gallery items based on whether a user's email is in a permission's SharePoint list. If not in the permission list, I want to limit the gallery items to only "In-progress" and their own customer email. Otherwise, if in the permission list, I want the user to see all items. I need help writing the conditional logic to add to the filter function under the Items property for the gallery.
Filter( Source,
If(IsBlank(LookUp(Permissions,Email=User().Email)), Status.Value = "In-progress"),
If(IsBlank(LookUp(Permissions,Email=User().Email)), 'Customer Email' = User().Email)
)