Skip to main content

Notifications

Community site session details

Community site session details

Session Id :
Power Apps - Building 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
 

  • Harika_1 Profile Picture
    on at
    Re: Change dropdown values based on another Dropdown value

    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

     




  • scalca Profile Picture
    on at
    Re: Change dropdown values based on another Dropdown value

    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

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

🌸 Community Spring Festival 2025 Challenge 🌸

WIN Power Platform Community Conference 2025 tickets!

Markus Franz – Community Spotlight

We are honored to recognize Markus Franz as our April 2025 Community…

Kudos to the March Top 10 Community Stars!

Thanks for all your good work in the Community!

Leaderboard

#1
WarrenBelz Profile Picture

WarrenBelz 146,635 Most Valuable Professional

#2
RandyHayes Profile Picture

RandyHayes 76,287 Super User 2024 Season 1

#3
Pstork1 Profile Picture

Pstork1 65,997 Most Valuable Professional

Leaderboard