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 / Removed Selected Items...
Power Apps
Unanswered

Removed Selected Items from Dropdown

(0) ShareShare
ReportReport
Posted on by 4

Hi. I have a form and the fields are coming from a List called "AccountDetails" inside my form I switched the "Title" to be a dropdown that is pulling from a List called "AccountDetailsTitles". 

 

I am using the same form for New and Edit. I have it set up so I can create multiple entries to the "AccountDetails" List for a single Client. When information is added for that client and if I go to add another entry for the same client I want to hide the dropdown choices that were already selected.

 

This is the code on the Default of the dropdown

If(AccountDetailsForm_2.Mode = FormMode.Edit, glr_AcctDetail_HSLE_2.Selected.Title)

Categories:
  • v-qiaqi@microsoft.com Profile Picture
    Microsoft Employee on at

    HI @penny4,

    If you want to filter out the existing title from the dropdown list, I think you should set the Items property of the dropodwn as below:

    If(AccountDetailsForm_2.Mode = FormMode.Edit,Filter(List,!(Title in AccountDetailsTitles.Title)),Your_Original_Items_formula)
  • penny4 Profile Picture
    4 on at

    Thanks. I will try it out and let you know!

  • penny4 Profile Picture
    4 on at

    I have applied the code to the Items section of my drop down If(AccountDetailsForm_2.Mode = FormMode.Edit,Filter(List,!(Title in AccountDetailsTitles.Title)),AccountDetailsTitles) and am receiving the following Warning: The columns produced by this rule are all nested tables and\or records, however the property expects at least some columns of simple values (such as text, or numbers).

    I also have an error on my Update: Name isn't valid. 'Title' isn't recognized.

    This is the code on the update DetailsTitleDrp_1.Selected.Title

    I only get this error when adding the formula for the item

     

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 July Top 10 Community Leaders!

These are the community rock stars!

Leaderboard > Power Apps

#1
11manish Profile Picture

11manish 395 Super User 2026 Season 2

#2
Mohsin Ali Profile Picture

Mohsin Ali 328

#3
WarrenBelz Profile Picture

WarrenBelz 260 Most Valuable Professional

Last 30 days Overall leaderboard