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 / Change dropdown values...
Power Apps
Unanswered

Change dropdown values based on another Dropdown value

(0) ShareShare
ReportReport
Posted on by

Hello Community,
Hope you're all doing well.

I have 2 drop down Boxes
Production with Items ["",OK", "Pending"]
Quality with Items ["","Approved", "Rejected"]

These are saved in SharePoint List in which the columns are of type CHOICE.

Now My requirement, When the value in Quality is Changed to Rejected then the value in Production should be changed to Pending.  and when hit on save this item is saved in the SharePoint list .
 

but when production comes and takes a look at the pending and then change to OK it should be saved as OK and this should be displayed in the Dropdown box of Production.

I used 
  

Default: ThisItem.Production.Value  (for Prod Dropdown)

Harika_1_0-1709729222787.png

Used the below formula for OnChnage property of Quality.

 

If(
 QAInput_2.Selected.Value = "Rejected",
 UpdateContext({varProductionStatus: "Pending"}),
 UpdateContext({varProductionStatus: PVInput_2.Selected.Value})
)

 

 For patch I used 

 

Production: If(
 _Gals.QAInput_2.Selected.Value = "Rejected",
 {Value: "Pending"},
 _Gals.PVInput_2.Selected
 ),
 Quality: _Gals.QAInput_2.Selected,

 



Could someone please hep me with this requirement or give me an idea how to do it.

Thank you so much in advance
 

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

    you're almost there
    in order to display the value in the dropdown you'll have to update the Default property of the same with the
    varProductionStatus variable

  • Harika_1 Profile Picture
    on at

    Hello @scalca 
    Thank you for your reply,
    I have tried to put the varProductionStatus variable in Default property of Production Dropdown
    but if I select Rejected for one item. all other items are Changed to Pending.
    Could you please tell me how to tackle this 

    Harika_1_0-1709733472174.pngHarika_1_1-1709733488736.png

     




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!

Congratulations to the April Top 10 Community Leaders!

These are the community rock stars!

Leaderboard > Power Apps

#1
Vish WR Profile Picture

Vish WR 610

#2
Haque Profile Picture

Haque 317

#3
WarrenBelz Profile Picture

WarrenBelz 315 Most Valuable Professional

Last 30 days Overall leaderboard