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 / Dependent Drop downs
Power Apps
Answered

Dependent Drop downs

(0) ShareShare
ReportReport
Posted on by Microsoft Employee

Trying to set up a dropdown that will hide items that were selected in another column. Show items as long as they don't exist in that column anymore. Thanks! 

Categories:
  • iAm_ManCat Profile Picture
    18,256 Most Valuable Professional on at

    Something like this?

    Filter(
     "Whatever your Default property is for Dropdown 2",
     Not(Value in Dropdown1.SelectedItems)
    )

      

    I'd need to know more details of your two dropdowns and their types etc to give a more clear answer

  • TheRobRush Profile Picture
    11,128 Moderator on at

    need more info, but just a stab in the dark not knowing the data structure, id have a column of data pulled from a collection, clicking an item there adds it to another collection, and then make my dropdown give me the original collection, but filtered for only items Not in collection 2

  • Community Power Platform Member Profile Picture
    Microsoft Employee on at

    IB2_DZ_0-1654106190653.png

    Dropdown1 Items: 

    If(DataCardValue33.Selected.Value = "A", [ "A1", "A2", "A3", "A4", "A5", "A6" ], DataCardValue33.Selected.Value = "B", [ "B1", "B2", "B3", "B4", "B5", "B6" ],
    DataCardValue33.Selected.Value = "D", [ "D1", "D2", "D3", "D4", "D5", "D6" ], DataCardValue33.Selected.Value = "H", [ "H1", "H2", "H3", "H4", "H5", "H6" ])

     

    The chosen value from Dropdown 1 will be the the parent value of a column called : RACK LOCATION

    IB2_DZ_1-1654106622710.png

     

     

    * I would like Dropdown1 to show only items that are not already assigned in Rack_Location column. 

     

    Much appreciated!

  • Verified answer
    TheRobRush Profile Picture
    11,128 Moderator on at

    Simple Example

     

    My Dropdown list for exampl,e has an items property of

     

    Filter(["A1","A2","A3","A4","A5","A6"], Not(Value in Test))

     

    and an onchange of 

    Collect(Test,Self.Selected.Value)

     

    Put a gallery below with items of 

    Test

    and those items have an onselect of 

    RemoveIf(Test,Value=ThisItem.Value)

     

    any time i make a selection from dropdown it drops into collection below and is removed as an option, see images below. this should give you a good starting place

     

    TheRobRush_0-1654107265133.pngTheRobRush_1-1654107388252.png

     

     

  • Community Power Platform Member Profile Picture
    Microsoft Employee on at

    Perfect ! Much appreciated ! 

  • Community Power Platform Member Profile Picture
    Microsoft Employee on at

    Much appreciate it !

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 258

#3
Mohsin Ali Profile Picture

Mohsin Ali 231

Last 30 days Overall leaderboard