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 multiple rows fr...
Power Apps
Unanswered

Patch multiple rows from a collection to SharePoint List as an one item

(0) ShareShare
ReportReport
Posted on by

Hello, everyone.

I got  a problem patching my data from collection to Sharepoint list. Is it possible to patch multiple rows of collection to Sharepoint list as an one Item?

 

 Screenshot (90).pngScreenshot (91).png

 

Categories:
  • v-albai-msft Profile Picture
    Microsoft Employee on at

    Hi @Minjinzz ,

    I can only think of the hard-coded approach. Formula like this(assume that the collection has three column called "ColumnA", "ColumnB" and "ColumnC"):

    Patch(listname,Defaults(listname),
    {
    Column1:First(test).ColumnA
    Column2:First(test).ColumnB
    Column3:First(test).ColumnC
    Column4:Last(FirstN(test,2)).ColumnA
    Column5:Last(FirstN(test,2)).ColumnB
    Column6:Last(FirstN(test,2)).ColumnC
    Column7:Last(FirstN(test,3)).ColumnA
    Column8:Last(FirstN(test,3)).ColumnB
    Column9:Last(FirstN(test,3)).ColumnC
    ...
    }
    )

    Best regards,

    Allen

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
11manish Profile Picture

11manish 393 Super User 2026 Season 2

#2
Mohsin Ali Profile Picture

Mohsin Ali 328

#3
WarrenBelz Profile Picture

WarrenBelz 278 Most Valuable Professional

Last 30 days Overall leaderboard