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 / Detect duplicate names...
Power Apps
Answered

Detect duplicate names selected from 2 person datacard

(1) ShareShare
ReportReport
Posted on by 280
Hi experts, please help me detect duplicate selected items from 2 different combo box (DataCard in Form)
Please see screenshot below for context: I just added the visibility of the label with: 
endorsers.Selected.DisplayName=approvers.Selected.DisplayName
 
however not working properly if there are 2 or more same names. Note that the Data Cards are multi-select.
 
 
Thank you in advance!
Categories:
I have the same question (0)
  • Verified answer
    WarrenBelz Profile Picture
    153,084 Most Valuable Professional on at
    Not as simple as you would think
     
    CountRows(
       Filter(
          Ungroup(
             ForAll(
                Endorsers.SelectedItems As _Data,
                Filter(
                   Approvers.SelectedItems,
                   _Data.DisplayName in DisplayName
                )
             ),
             Value
          ),
          !IsBlank(DisplayName)
       )
    ) > 0

    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

  • scorpio24 Profile Picture
    280 on at
    Works Perfect! Thank you @WarrenBelz

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

#2
Michael E. Gernaey Profile Picture

Michael E. Gernaey 343 Super User 2025 Season 2

#3
Power Platform 1919 Profile Picture

Power Platform 1919 268

Last 30 days Overall leaderboard