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 / Clear current selectio...
Power Apps
Answered

Clear current selection from dropdown when another dropdown value changes

(0) ShareShare
ReportReport
Posted on by 44

I have some dependant dropdowns that need to be cleared if the "parent" dropdown is changed. I have been prowling the forum to try to find an answer, but nothing seems to be working...

 

I have a dropdown for "Organization", then another dropdown for "Sub-Organization". If the Organization dropdown changes, I need to clear the selected item from the Sub-Organization since the old value no longer applies, and I need the user to reselct a new valid sub-organization.

 

These dropdowns are using filtered lists for the vlaues.

 

Any help would be greatly appreciated!

 

PowerappsShot1.png

Categories:
  • Verified answer
    wyotim Profile Picture
    2,545 on at

    You could try triggering the Reset property in the second dropdown.

     

    In the OnChange property of the first dropdown, add something like:

    UpdateContext({ResetDropdown: true}); 
    UpdateContext({ResetDropdown: false})


    In the Reset property of the second dropdown, add:

    ResetDropdown

    Please note that if you have a default condition set, this is what it will reset to. It is good to ensure that the AllowUnsetValue property is set to true in the second dropdown and that the Default is set to "" to allow a blank default entry.

  • AndyJJones Profile Picture
    44 on at

    Thank you much for the direction!

     

    It ended up being a bit more complicated that your example, but I ended up setting a "status" flag (ResetL2Status), and set the DefaultSelectedItems to:

    If(IsBlank(ResetL2Status),Parent.Default,First(Sort(Distinct(Filter('Orgs',DataCardValue8.Selected.Result=L1),L2),Ascending)))

     

    I think I am well on my way to getting this done now though.

     

    Thanks again! 

  • kpromma Profile Picture
    43 on at

    I have a form with multiple pages... certain set of questions all have their own page.  All sourced from a single list.  Can this solution be used for each form page?

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 383 Super User 2026 Season 2

#2
Mohsin Ali Profile Picture

Mohsin Ali 356

#3
WarrenBelz Profile Picture

WarrenBelz 232 Most Valuable Professional

Last 30 days Overall leaderboard