I built a form in power apps but need to lookup and patch a record in a different SP list.
Right now I am trying to Patch('OtherList', Lookup('OtherList', CompanyName = Datacardvalue2.Selected), {Status: DataCardValue1.Selected, '@odata.type':"#Microsoft.Azure.Connectors.SharePoint.SPListExpandedReference"})
But it isnt working.
Datacardvalue2 is a SP lookup field for 'OtherList' CompanyName so that my users can only add records to this new SP list based on companies already in 'OtherList'

Report
All responses (
Answers (