Hi Everyone,
I had been using PowerApps for longer more than a month now; I am not a developer on my daily basis but still remember some from ages ago.
In this case, I want to filter a Sharepoint List on a Drop Down List based on another Sharepoint List.
- The first list is named "Locations; with columns ID (integer), Name, Active_Location (True/False), and Address.
- The second list is named "Supervisor", and it's columns are ID, Location_ID (integer), Location_Name, and Supervisor_Email.
- This List has every supervisor that has had every location, so it must be sorted in order to display the newest Supervisor of each location.
Knowing this, my app has one screen where the supervisor shall add a new "Supervisor Visit to a Location" where the users have one DropDownBox where I want to Filter/Display ONLY the locations where they are the Supervisors.
I would appreciate any support on this.
- First Edit:
Another approach for this could be to Filter the Sharepoint List "Locations" based in other Sharepoint List named "Supervisor" with something like this:
- Filter(Locations, ID in Search(Supervisor, CurrentUser.Mail, "Supervisor_Email")).Name
Knowing that CurrentUser comes from:
- Set(CurrentUser,Office365Users.MyProfile());
But this is still not working either