web
You’re offline. This is a read only version of the page.
close
Skip to main content

Notifications

Announcements

Community site session details

Community site session details

Session Id :
Power Platform Community / Forums / Power Apps / How to LookUp Multi-Pe...
Power Apps
Unanswered

How to LookUp Multi-Person SharePoint Column

(1) ShareShare
ReportReport
Posted on by 10
Hello Everyone,
 
I can't figure out how could I fetch a multi-person column on a SharePoint, to record if the current user of the app is in the list or not. I tried multiple methods, but no working solution. This was one of the first:
 
If(
   !IsBlank(
      LookUp(
         'My_List',
         CurrentUserEmail in Owners.Email
      )
   ),
   Set(UserPresence,true),
   Set(UserPresence,false)
)
My_List is the SharePoint list and Owners is the multi-person column.
Also, there is the problem of the usual delegation warning. If that can be overcome that would be great, but at this point I would be happy if even the base functionality would work.
 
 
Thank you in advance if anyone has any recommendations!
 
Categories:
I have the same question (0)
  • Suggested answer
    AndrianaO Profile Picture
    213 Moderator on at
    Hi! I got delegation warning as well, but you can try this: 
     
    If(
        !IsBlank(
            Filter(
                'My_List',
                 CurrentUserEmail in Owners.Email
            )
        ),
        Set(
            UserPresence,
            true
        ),
        Set(
            UserPresence,
            false
        )
    )
     
    Let me know if it works! 
  • AndrianaO Profile Picture
    213 Moderator on at
    upd: This will not help to overcome the Delegation warning, it will just mask it. Read later comment by @WarrenBelz for references.

    To overcome Delegation warning statement I came up with the following Filter() function: 
     
    Filter(
        AddColumns(
            'My_List',
            allOwnerEmails,
            Concat(
                Owner,
                Email,
                ";"
            )
        ),
        User().Email in allOwnerEmails
    )
     
    You need to put this Filter() in my previous formula in place of Filter() which is already there. I am not sure if this is the best approach and maybe someone else will suggest something better.
     
    In any case, me know if this works as well! 
  • CU23121026-0 Profile Picture
    10 on at
    Hey Adriana,

    Thank you for reply. The code looks good, but when I test it on my end, it returns True although my user is not in the column. There are different users in it but those should not match with my email.

    That was the issue with my previous functions as well. Do I miss something here? 
  • AndrianaO Profile Picture
    213 Moderator on at
    Oh, I see the problem. Try using IsEmpty() function in my formulas instead of IsBlank(), it should help. 

  • WarrenBelz Profile Picture
    152,855 Most Valuable Professional on at
    Just a note here - the structure "masks" the Delegation warning, but does not make it Delegable (utilising the full data set). AddColumns is a "local" function and the output is essentially a local Variable (so limited in record number to your first [Data Row Limit] records). These records can then be filtered using a non-Delegable filter as the process is carried out locally on the device.
    There is however no Delegable workaround when filtering a multi-value SharePoint column unless you head down the Power Automate track.
  • AndrianaO Profile Picture
    213 Moderator on at
    @WarrenBelz thank you very much for the explanation! 
  • CU23121026-0 Profile Picture
    10 on at
    Hey @AndrianaO and @WarrenBelz, thanks for the explanation too!

    In the meantime I got to try it with IsEmpty instead of IsBlank. For me it is still bad, but now in the opposite way :D So now it always returns false, even if my user is actually in the column.
    Did it work on your end? 
  • CU23121026-0 Profile Picture
    10 on at
    Hey All,

    In the meantime I figured out what caused the issue on my end. I ignored the fact that our UPN (User().Email is differs from the actual email. That's why the IsBlank / IsEmpty did not trigger any change to the variable. 
    Thank you once again for the suggested answers!

Under review

Thank you for your reply! To ensure a great experience for everyone, your content is awaiting approval by our Community Managers. Please check back later.

Helpful resources

Quick Links

Forum hierarchy changes are complete!

In our never-ending quest to improve we are simplifying the forum hierarchy…

Ajay Kumar Gannamaneni – Community Spotlight

We are honored to recognize Ajay Kumar Gannamaneni as our Community Spotlight for December…

Leaderboard > Power Apps

#1
WarrenBelz Profile Picture

WarrenBelz 757 Most Valuable Professional

#2
Michael E. Gernaey Profile Picture

Michael E. Gernaey 322 Super User 2025 Season 2

#3
MS.Ragavendar Profile Picture

MS.Ragavendar 209 Super User 2025 Season 2

Last 30 days Overall leaderboard