Hello,
I'm working on a project where sales reps can only see their accounts from a SP list. The accounts in the list are not created by them but they are able to edit the entries. I have 2 columns in the SP list that are built with people pickers and need the filter to scrub both lists against the current user. The list needs to be filtered 2 ways; one is when an account rep logs in they only see their accounts, two when a manager logs in they can see all of their reps accounts. The two columns I'm referencing are "account manager" and "sales manager". Below is the coding I have so far and any help would be greatly appreciated.
App startup code: Set(CurrentUser,Office365Users.MyProfile().DisplayName)
Browse Gallery Code: Filter('WRFP-2021 Sample','Account Manager'.DisplayName=CurrentUser)