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 / Remove already selecte...
Power Apps
Answered

Remove already selected item from combo-box choices

(0) ShareShare
ReportReport
Posted on by Microsoft Employee

Hi Everyone,

 

I Have a combobox, that pulls data of users from office365 connector, and store any selected names from the combobox into a collection, However, When the user select and deselect the name there is no way for me to remove the deselected item from the collection, it would then cause problems since if they continue to select the same name, it would store the name twice.

 

I tried to put the office365 within a collection, where I could then remove any selected names from the combobox, but it does not seem to work.

duplicate.PNG

 

Categories:
  • PavanKumar Profile Picture
    479 on at
    Hi, Could you please elaborate on what do you mean by "When the user select and deselect the name ". Why to select and deselect? Regards, Pavan Kumar Garlapati
  • Community Power Platform Member Profile Picture
    Microsoft Employee on at

    If by any chance, the user accidentally removed/crossed the name, and they wold bring it back.

     

  • Verified answer
    v-yutliu-msft Profile Picture
    Microsoft Employee on at

    Hi @Anonymous ,

    Could you show me 

    1)the formula that you use to save selected names from the combobox into a collection?

    2)you set the formula to which control's which property?

     

    I've made a similar test for your reference:

    I set the combo box's OnChange:

    ClearCollect(collectionname,Combo box1.SelectedItems)

     

    In this way, I not met the same peroblem like your description.8286.PNG

     

    8287.PNG

     

     

    Best regards,

     

     

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

Leaderboard > Power Apps

#1
11manish Profile Picture

11manish 342 Super User 2026 Season 2

#2
M Bilal Khan Profile Picture

M Bilal Khan 283

#3
Mohsin Ali Profile Picture

Mohsin Ali 221

Last 30 days Overall leaderboard