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

Announcements

News and Announcements icon
Community site session details

Community site session details

Session Id :
Power Platform Community / Forums / Power Apps / Lookup to SharePoint L...
Power Apps
Answered

Lookup to SharePoint List for Person Group Column

(0) ShareShare
ReportReport
Posted on by 2

Hi,

I am trying to apply lookup formula to my SharePoint list based on the Person Group field. I have New Form with People Picker card which i am populating with the logged in user. I need to prevent duplicate entries in the SharePoint list by using lookup formula but i am not getting any result.

 

Formula on submit button is given below.

If(
!IsBlank(
LookUp(
'EmployeeCoins',
Employee.DisplayName = DataCardValue5.SelectedItems.DisplayName
)
),
Notify(
"You have already claimed the bonus!",
NotificationType.Error
),
SubmitForm(BonusForm);
ResetForm(BonusForm)
)

AbdPower_0-1657649128172.png

 

Please Help.

Categories:
I have the same question (0)
  • Verified answer
    WarrenBelz Profile Picture
    156,051 Most Valuable Professional on at

    Hi @AbdPower ,'

    You need .Selected - note ID here can be any field in the list - I am just testing that it exists if using IsBlank

    If(
     !IsBlank(
     LookUp(
     'EmployeeCoins',
     Employee.DisplayName = DataCardValue5.Selected.DisplayName
     ).ID
     ),
     Notify(
     "You have already claimed the bonus!",
     NotificationType.Error
     ),
     SubmitForm(BonusForm);
     ResetForm(BonusForm)
    )

     

    Please click Accept as solution if my post helped you solve your issue. This will help others find it more readily. It also closes the item. If the content was useful in other ways, please consider giving it Thumbs Up.

    Visit my blog Practical Power Apps

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

Season of Sharing Community Challenge Winners!

Congratulations to our community stars!

Kudos to our 2025 Community Spotlight Honorees

Expanding mentorship, skilling, and AI innovation

Congratulations to the June Top 10 Community Leaders!

These are the community rock stars!

Leaderboard > Power Apps

#1
WarrenBelz Profile Picture

WarrenBelz 352 Most Valuable Professional

#2
11manish Profile Picture

11manish 192

#3
Valantis Profile Picture

Valantis 128

Last 30 days Overall leaderboard