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 / Multi-Select Lookup Fi...
Power Apps
Answered

Multi-Select Lookup Field filtering out duplicates when it shouldn't

(1) ShareShare
ReportReport
Posted on by 46
Hello!
 
My Custom Form has two lookup fields (lookup happens in SharePoint List, not in Power Apps). The user selects the Formal_Role(s) and once the form is submitted, the related Points of Contact appear.  The problem is that some Roles have the same Point of Contact.  While the list shows up perfectly in the SharePoint List, Power Apps is filtering out the duplicated contact when viewed in the form.  I can't see any reason for it doing so.  Any ideas on how to get all the contacts to show up even if they are duplicated?
 
What you see in the SharePoint List:
Employee Formal Role POC
Larry Role1
Role2
Role3
Mary
Bob
Bob
Sally Role4
Role5
George
George
 
What you see in the Custom Form:
Formal Role POC
Role1, Role2, Role3 Mary, Bob
Role4, Role5 George
 
Formal Role - editable field
Items:
Choices([@Employees].Formal_Roles
POC - view only
Items:
Choices([@Employees].'Formal_Roles:POC')
 
 
Thanks for any guidance for this beginner!  And thanks to WarrenBelz for the blog guidance on how to post!  I think I got it right this time even if I still can't figure out how to tag someone. :)
Categories:
I have the same question (0)
  • Verified answer
    WarrenBelz Profile Picture
    156,064 Most Valuable Professional on at
    Hi  Jukiejan
    The issue you have I believe is that  Lookup "Secondary" fields Choices([@Employees].'Formal_Roles:POC') are not really compatible and generally do not behave in the manner you expect as SharePoint is not a relational database and the Power Apps connector does not support the query. You would be better getting the drop-down choices directly from the second list.
     
    Please click Does this answer your question 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 a Like.
    MVP (Business Applications)     Visit my blog Practical Power Apps    Buy me a coffee

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 337 Most Valuable Professional

#2
11manish Profile Picture

11manish 173

#3
Valantis Profile Picture

Valantis 86

Last 30 days Overall leaderboard