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 / Patch Multi select Loo...
Power Apps
Answered

Patch Multi select Lookup Column

(0) ShareShare
ReportReport
Posted on by 539

Hello, i have 2 SPO Lists.

 

First named Contract_Partners second named Contract Database.

 

I am displaying the Title column of Contract_Partners as lookup in the Contract Database list. It can be multi selected.

 

How can i patch this type of column.

 

I have a Combobox: Item Property 

 

Contract_Partner

 

 and Display Fields is Title. Multiselect and Search are on.

 

I am useing collect function to get all selected Items from the combobox.

 

ForAll(Contr_Partner_Input_1.SelectedItems,
 Collect(ContractPartners,
 {
 '@odata.type': "#Microsoft.Azure.Connectors.SharePoint.SPListExpandedReference",
 Id: ThisRecord.ID,
 Value: ThisRecord.Title
 }
 )
)

 

 in my Patch 

 

Patch(Contract_Database,
 Defaults(Contract_Database),
 {
 Lookup_Contract_Partner : ContractPartners
 }
)

 

i am getting the error message "The type of this argument "Lookup_Contract_Partners" does not match the expected type 'Record' found type 'Table'. What to i need to patch in this column?

 

Thanks a lot

Categories:
  • Verified answer
    v-bofeng-msft Profile Picture
    Microsoft Employee on at

    Hi @niklasjegg ,

     

    Please check if the person column(Lookup_Contract_Partner) allow multiple selections:

    vbofengmsft_0-1650519189899.png

    And then please refresh the data source:

    vbofengmsft_1-1650519267328.png

     

    Best Regards,

    Bof

     

     

  • niklasjegg Profile Picture
    539 on at

    Hi @v-bofeng-msft ,

     

    thanks i already checket that.

     

    I closed all my Browser windows and reopened the app again. Working as expected with no changes made in sharepoint or the app....

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

Leaderboard > Power Apps

#1
11manish Profile Picture

11manish 397 Super User 2026 Season 2

#2
Mohsin Ali Profile Picture

Mohsin Ali 354

#3
WarrenBelz Profile Picture

WarrenBelz 232 Most Valuable Professional

Last 30 days Overall leaderboard