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 / Update dropdown listed...
Power Apps
Unanswered

Update dropdown listed based on another dropdown value

(0) ShareShare
ReportReport
Posted on by 149

In my app I have two dropdown list, both data sources are SharePoint. I want to change a value in another dropdown when a certain choice is made from another dropdown.

 

For example

 

If dropdown product equals "x" then then dropdown yes/no defaults to yes.

 

I think I am getting stuck as it is referencing a SharePoint dropdown 

 

Default = If(DataCardKey3.Selected.Value = "D9", DataCardKey21.Selected.Value = "Yes")

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

    Hello

     

    I think you just need to call Reset(your_second_dropdown) after any changes in your first dropdown.

     

     

  • mmollet Profile Picture
    3,187 on at

    Unfortunately in PowerApps you cannot assign values by simply using the = operator. So saying Label.Text = "John" will do nothing etc. 

     

    Here is a test I did to explain how this can work:

    Dropdown 1 items set to: ["Choice 1","Choice 2","Choice 3","Choice 4","Choice 5"]

    Dropdown 2 items set to: ["one","two","three","four","five"]

    Dropdown 2 default set to: Switch(Dropdown2.Selected.Value, "Choice 1", "one", "Choice 2", "two", "Choice 3", "three", "Choice 4", "four", "Choice 5", "five")

     

    When I select "Chocie 3", the second dropdown changes to "three", when I change it to "Choice 1" it changes dropdown 2 to "one".

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

These are the community rock stars!

Leaderboard > Power Apps

#1
WarrenBelz Profile Picture

WarrenBelz 294 Most Valuable Professional

#2
11manish Profile Picture

11manish 210

#3
Valantis Profile Picture

Valantis 169

Last 30 days Overall leaderboard