Hello.
I am building an app whose data source is a SharePoint list. On this SharePoint list i have 2 Person/Group columns ("Requerente" and "Projetista Responsável").
On my power apps application i am employing a gallery and i was planning on filtering its shown items based on the persons picked for both "Requerente" and "Projetista Responsável" options. So for each of those options i made a "me" checkbox (it gets the current user's email and compares it) and then i added another checkbox to enable the people pickers i got from an edit form that allow me to filter for another person.

The code i wrote on the gallery's items property was:
Filter('Gestão de Ordens de Produção',
((Checkbox1.Checked && 'Projetista Responsável'.Email = User().Email) || Checkbox1.Checked = false && Checkbox2.Checked=false) || (Checkbox2.Checked && 'Projetista Responsável'.Email = DataCardValue1.Selected.Email) &&
((Checkbox3.Checked && Requerente.Email = User().Email) || Checkbox3.Checked = false && Checkbox4.Checked=false) || (Checkbox4.Checked && Requerente.Email = DataCardValue2.Selected.Email)
)
"Gestão de Ordens de Produção" being the name of my SharePoint list.
The problem is that i cant get both filters to work at the same time. Using the code above, it only allows me to correctly filter based on the "Projetista Responsável" filter (The "Requerente" filter wont filter anything at all). But if i comment that first part of the code and disable the "Projetista Responsável" filter, the "Requerente" filter will work fine. But they won't function simultaneously.
I would appreciate any guidance on what can do to fix this problem