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 / Bulk Upload: Patch (no...
Power Apps
Answered

Bulk Upload: Patch (no ForAll)

(0) ShareShare
ReportReport
Posted on by 283

Hi.  This is a simple problem but I can't seem to figure it out.  I am trying to patch my collection to an excel file.  The formula I'm

using is 

 

Patch(UploadData,AppData2)

 

UploadData - Name of the Excel table, all my headers match up

AppData2 - Name of the collection

 

Error Message: 

"Invalid Argument Type (Table), expecting records instead"

 

Using Patch:

If your Source and Destination have the same column names, you can use a simple Patch statement. ChecklistItemsSource and the CheckedItems collections, have the same column names. Hence you can use the below formula to update the source at once with all the changes.

Patch(ChecklistItemsSource , CheckedItems)

https://powerapps.microsoft.com/en-us/blog/bulk-update-using-forall-and-patch/

Categories:
I have the same question (0)
  • Verified answer
    Drrickryp Profile Picture
    Super User 2024 Season 1 on at

    Hi @dyee4614 

    If your column names in the collection match the column names in the Excel file, you can try 

    Collect(Collection,ExcelFile).  In any event, according to what you wrote, you have the source collection and the target file reversed. 

     

  • dyee4614 Profile Picture
    283 on at

    @Drrickryp Thank you.  I'm stupid.  I had one field called Timein instead of TimeIn.  It works now.

  • Drrickryp Profile Picture
    Super User 2024 Season 1 on at

    Hi @dyee4614 

    Happy to be of assistance.

    smiling.gif

     

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!

Congratulations to the March Top 10 Community Leaders!

These are the community rock stars!

Leaderboard > Power Apps

#1
11manish Profile Picture

11manish 541

#2
WarrenBelz Profile Picture

WarrenBelz 434 Most Valuable Professional

#3
Valantis Profile Picture

Valantis 289

Last 30 days Overall leaderboard