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 / How to set a dropdown ...
Power Apps
Unanswered

How to set a dropdown field when another dropdown field is chosen.

(1) ShareShare
ReportReport
Posted on by 33

I have two fields, both dropdowns.

 

Field A: Status (Closed, Cancelled, In process)

Field B: At Risk (Yes, No)

 

I would like, when field A is chosen to be either, closed or cancelled, field B be automatically set to no. I would also like for me to edit field b if necessary. I am trying this but it is not working. Can someone help?

 

5f4ba1bd-4f19-4370-bd95-f090684b3f78.png

Categories:
I have the same question (0)
  • TylerPA Profile Picture
    201 on at

    Can you try this for your Field B (yes/no) dropdown?

     

    TylerPA_0-1668712990292.png

    If(Or(DataCardValue6.Selected.Value="Closed", DataCardValue6.Selected.Value="Cancelled"), "No")

     

    With this setup I did not need to add anything else

  • vez Profile Picture
    33 on at

    vez_0-1668714829632.png

    It did not work. This is showing as a datacardvalue in the tree view not a dropdown.

     

  • TylerPA Profile Picture
    201 on at

    Can you show your DataCardValue6 Items property? and the Items property of your field B dropdown

  • vez Profile Picture
    33 on at

    vez_0-1668717003505.pngvez_1-1668717046282.png

    Thank you for your help!

  • TylerPA Profile Picture
    201 on at

    No worries - thank you for helping work through it

     

    So just to confirm, you are setup with below (unless I have your names incorrect), and still an error?

     

    DataCardValue6
    // items
    Choices([@'Shared Request Tracker'].'Request Status')
    
    
    and your dropdown
    // items
    Choices([@'Shared Request Tracker'].'At Risk')
    // default
    If(Or(DataCardValue6.Selected.Value="Closed", DataCardValue6.Selected.Value="Cancelled"), "No")

     

  • vez Profile Picture
    33 on at

    vez_0-1669990784613.png

    Unfortunately, I keep getting an error. 

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

Introducing the 2026 Season 1 community Super Users

Congratulations to our 2026 Super Users!

Kudos to our 2025 Community Spotlight Honorees

Congratulations to our 2025 community superstars!

Leaderboard > Power Apps

#1
Haque Profile Picture

Haque 85

#2
WarrenBelz Profile Picture

WarrenBelz 76 Most Valuable Professional

#3
Kalathiya Profile Picture

Kalathiya 38 Super User 2026 Season 1

Last 30 days Overall leaderboard