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 / Combobox allowing exis...
Power Apps
Unanswered

Combobox allowing existing records to be selected again

(0) ShareShare
ReportReport
Posted on by 72

I have a combobox on my form. When I edit a SharePoint item the form is displaying the selected items correctly but the dropdown allows me to select those items again. Therefore the same record is displayed twice in the box but only the newly selected records are saved back to the list. 

 

How do I prevent selected items from being selected again? 

image.png

Categories:
I have the same question (0)
  • v-monli-msft Profile Picture
    Microsoft Employee on at

    Hi @simkessy ,

     

    What is the column type of this column? At first, I thought it is a multiple value enabled Person and Group field, but I just tested and got the different result. 

     

    For example, for below multiple value enabled Person and Group field, I have "Mona" already in existing item. But after I search for Mona again, and select this person, it will be deleted as 2nd screenshot shows.

     

    Capture.JPG

     

    3.JPG

     

    Did you use other data source as the options for this combo box? If so, how did you set this?

     

    Please also share the Items property and other related settings of this combo box control.

     

    Regards,

    Mona

     

     

     

  • simkessy Profile Picture
    72 on at

    The original source is a multi-lookup field but the items equation looksl ike this: 

     

    AddColumns(AvailableUsers, "Subtext", EmailAddress & " | Active: " & ActiveContract.Value & " | Age: " & age, "ActiveStatusText", ActiveContract.Value)

     

    On application start, I do this: 

     

    ClearCollect(
     UserActiveCount,
     Filter(
     AddColumns(
     GroupBy(
     Filter(Tasks, "Active" = status),
     "userText", 
     "Count"
     ), 
     "Active Count", 
     CountRows(Count)
     ), 
     'Active Count' < 3
     )
    );
    
    
    If(CountRows(UserActiveCount) = 0, 
     ClearCollect(AvailableUsers, ChildList)
    ,
     ClearCollect(AvailableUsers, Filter(ChildList, Title in UserActiveCount.userText ))
    )

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

Introducing the 2026 Season 1 community Super Users

Congratulations to our 2026 Super Users!

Kudos to our 2025 Community Spotlight Honorees

Congratulations to our 2025 community superstars!

Congratulations to the April Top 10 Community Leaders!

These are the community rock stars!

Leaderboard > Power Apps

#1
Vish WR Profile Picture

Vish WR 846

#2
Valantis Profile Picture

Valantis 532

#3
Haque Profile Picture

Haque 410

Last 30 days Overall leaderboard