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 / Assistance with settin...
Power Apps
Answered

Assistance with setting a lookup list item value

(0) ShareShare
ReportReport
Posted on by 27

Hi community,

Please assist on the below if possible:

 

I give current status in some detail so to have a better overview of what I try to achieve.

 

What I have :

  • A SharePoint list where my Contract Management data resides (Done)
  • A Contract Type dropdown  which include the Contract Termination value (done)
  • A Related Contract (dropdown):where I choose from existing contracts by “Title” (done)
  • A Contract Status dropdown (Active,Expired, Terminated)
  • An Approval status (dropdown): (Pending-Approved)

 

The request is like that:

If “Approval Status”= Approved  && “Contract Type” = “Contract Termination” then the “Related Contract Title” (lookup SP item Title??) must get Contract Status = “Terminated”.

 

I cannot come up with a correct formula to achieve this.

 

Can you help?

 

Thanks all

Categories:
I have the same question (0)
  • Verified answer
    v-jefferni Profile Picture
    Microsoft Employee on at

    Hi @LTEVA ,

     

    Would you like to make Contract Status dropdown auto select "Terminated" when Approval Status is Approved and Contract Type is Contract Termination?

     

    If so, please try:

    Set the DefaultSelectedItems property of Contract Status dropdown to:

    If(
     ApprovalStatusDataCardValue.Selected.Value="Approved"
     &&
     ContractTypeDataCardVaule.Selected.Value="Contract Termination",
     Filter(
     Choices(
     [@List].ContractStatus
     ),
     Value = "Terminated"
     )
    )

     

    Hope this helps.

     

    Best regards,

    Community Support Team _ Jeffer Ni
    If this post helps, then please consider Accept it as the solution to help the other members find it.

  • LTEVA Profile Picture
    27 on at

    Hi @v-jefferni ,

     

    thanks for the assistance in this.

     

    There is also one filed in my form (Related Contract) that correlates to an existing item(contract) in my SP list.

    So this Contract Termination (if approved) will "Terminate" an existing active Contract 

     

    What i try to do is to patch/update the Contract Status value of the Related Contract when(if) the  (IF) you suggested is true

     Thanks again!!

  • v-jefferni Profile Picture
    Microsoft Employee on at

    Hi @LTEVA ,

     

    My formula just make the Contract Status dropdown auto-populate with the "Terminated" selection when meet the situation. I did not put Related Contract dropdown in the formula since I don't think the related contract  would be a condition of the contract status, you could apply Terminate status on any contract if you like, right?

     

    If the post have solved your question, please consider accept it as a solution to help the other members find it.

    If you have any further questions, please let us know.

     

    Best regards,

    Community Support Team _ Jeffer Ni

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 379 Most Valuable Professional

#2
11manish Profile Picture

11manish 203 Super User 2026 Season 2

#3
MS.Ragavendar Profile Picture

MS.Ragavendar 128 Super User 2026 Season 2

Last 30 days Overall leaderboard