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 / Maintaining state in d...
Power Apps
Unanswered

Maintaining state in dependent drop downs

(0) ShareShare
ReportReport
Posted on by 12

I would like to maintain the state between two dependent drop downs, drpOptions and drpOptionValues, and access the value combinations when performing an action such as pressing a button.

Let's say

drpOptions has the values : Size, Color, Material

and

drpOptionValues has the dependent values for Size : Small,Medium,Large, Color : Red, Green, Blue and Material : Cotton,Wood,Stone.

 

If I pick Size from drpOptions and  Medium from drpOptionValues, then pick Color = Red and a Material = Wood and then go back to Size in drpOptions I would like the drpOptionValues drop down to have the value Medium.

 

And then when I click a button I'd like to gather all the drpOptions/drpOptionValues value pairs.

 

Any 2 Cents welcome on how to best accomplish this!

Categories:
I have the same question (0)
  • RandyHayes Profile Picture
    76,299 Super User 2024 Season 1 on at

    @pinne65 

    They will retain their selections unless you are resetting them or if you have a dynamic Items property on any of them that PowerApps re-evaluates.

     

    I hope this is helpful for you.

  • pinne65 Profile Picture
    12 on at

    Thanks @RandyHayes, I learned something new!
    And I forgot to mention they are located in a gallery and getting their values from a Sharepoint list so I guess that's what preventing the retention. I'm still a Powerapps noob.

    Any ideas on how to approach that scenario?

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
WarrenBelz Profile Picture

WarrenBelz 345 Most Valuable Professional

#2
11manish Profile Picture

11manish 207 Super User 2026 Season 2

#3
Mohsin Ali Profile Picture

Mohsin Ali 177

Last 30 days Overall leaderboard