Hi,
I am new to Power apps and currently struggling with one issue. I have two SharePoint lists where one of them (say SP list "A") is for the support tickets whereas the other one (say SP list "B") is for the people who will be looking after the tickets. List A has various columns and one of them is the facility that the ticket belongs to. The list B has the user's full name, email, department and facility they belong to. One facility can have multiple users in list B.
What I am trying to do is, when the user is logged in to the app, then we know the facility where they belong from the SharePoint list B and then they see the tickets that belong to their facility only from list A on the screen. I know I am doing wrong here but just wanted to show the below formula that I tried:
if(!IsBlank(LookUp(User().Email = B[@Email]), Filter(activetickets,!IsBlank(LookUp(B,Facility=activetickets[@Facility]))))
Your help would be greatly appreciated.
Thank you!