web
You’re offline. This is a read only version of the page.
close
Skip to main content

Announcements

Community site session details

Community site session details

Session Id :
Power Platform Community / Forums / Power Apps / Set the lookup value u...
Power Apps
Answered

Set the lookup value using patch

(0) ShareShare
ReportReport
Posted on by 3,273

Hello,

 

I have two tables and having hard time trying to figure out the relationship.

 

I need to be able using my form to save an item that is linked with the other table like MS access or EDIT.

 

Picture1.png

Categories:
I have the same question (0)
  • Verified answer
    KrishnaV Profile Picture
    5,023 on at

    Hi @sajarac ,

     

    Please try the below:

    Patch(
     'Order List',
     Defaults('Order List'),
     {
     Title: TextInput16.Text,
     ItemID: {
     '@odata.type': "#Microsoft.Azure.Connectors.SharePoint.SPListExpandedReference",
     Id: LookUp(
     'Master List',
     Title = Dropdown6.Selected.Title,
     ID
     ),
     Value: Dropdown6.Selected.Title
     }
     }
    )


    I hope this resolved your issue if you see any challenge/need further help please let me know I am always happy to do it for my community.

    Regards,
    Krishna
    If this post helps you give a 👍 and if it solved your issue consider Accept it as the solution to help the other members find it more.

  • Sajarac Profile Picture
    3,273 on at

    WOW!!!!!

     

    That was super fast!!!

     

     

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
WarrenBelz Profile Picture

WarrenBelz 248 Most Valuable Professional

#2
Kalathiya Profile Picture

Kalathiya 209 Super User 2026 Season 1

#3
VASANTH KUMAR BALMADI Profile Picture

VASANTH KUMAR BALMADI 195

Last 30 days Overall leaderboard