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 so slow to sql
Power Apps
Unanswered

Patch so slow to sql

(0) ShareShare
ReportReport
Posted on by 193

Hi All,

 

I need to patch about 40 records to a SQL server. All records must be done. A filter is not possible. Only the patching takes about 4 minutes. Is this correct?

 

ForAll(colRoomSetupInformationTemp,
Patch('Room.RoomSetupInformation', Defaults('Room.RoomSetupInformation'),
{LunchTijd:colRoomSetupInformationTemp[@LunchTijd],RES_ID:colRoomSetupInformationTemp[@RES_ID],

Vestiging:varVestiging,Lokaal:colRoomSetupInformationTemp[@Lokaal],
LunchTijdVoorkeur:colRoomSetupInformationTemp[@LunchTijdVoorkeur],

Opmerking:colRoomSetupInformationTemp[@Opmerking]}));

 

Regards,

 

 

Categories:
I have the same question (0)
  • Nogueira1306 Profile Picture
    7,390 Super User 2024 Season 1 on at

    Try this:

     

    ForAll(colRoomSetupInformationTemp,
    Patch('Room.RoomSetupInformation', Defaults('Room.RoomSetupInformation'),
    {

    LunchTijd: LunchTijd,

    RES_ID: RES_ID,

    Vestiging: varVestiging,

    Lokaal: Lokaal,
    LunchTijdVoorkeur: LunchTijdVoorkeur,

    Opmerking: Opmerking

    }

    )

    );

     

    If you need additional help please tag me in your reply and please like my reply.
    If my reply provided you with a solution, pleased mark it as a solution ✔️!

    Best regards,

    Gonçalo Nogueira

    Check my LinkedIn!

    My website!

    My blog!

  • rvdhorst Profile Picture
    193 on at

    Hello @Nogueira1306 

     

    The first 7 to 9 records go fast. After that it takes a very long time. Could this be related to SQL?

     

    Regards,

     

     

  • Nogueira1306 Profile Picture
    7,390 Super User 2024 Season 1 on at

    SQL and the ammount of data you have... It is "normal"...

  • rvdhorst Profile Picture
    193 on at

    Thank you for the answer. 

    Should Dataverse or Sharepoint be faster?

     

     

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

WarrenBelz 392 Most Valuable Professional

#2
11manish Profile Picture

11manish 136 Super User 2026 Season 2

#3
MS.Ragavendar Profile Picture

MS.Ragavendar 109 Super User 2026 Season 2

Last 30 days Overall leaderboard