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 insert to dataver...
Power Apps
Answered

Bulk insert to dataverse table using ForAll

(0) ShareShare
ReportReport
Posted on by Microsoft Employee

I need to insert multiple records to the table at once from the config table.
config table name: cs1_Config_Attestation_DE&OES

Target table name: cs1_Attestation_DE&OE_Data
Here is the function I have used in the onselect

 

ForAll('cs1_Config_Attestation_DE&OES',
 Patch('cs1_Attestation_DE&OE_Data',Defaults('cs1_Attestation_DE&OE_Data'),{
 
 AQDOID_AQID: "ABC"
 }
 );
)

 

I'm getting below error

Nalakask_0-1687436598973.png

column also exists in the table.
if I use patch function outside the ForAll, it works fine.

Nalakask_1-1687436734256.png

 

Appreciate if you could support for this issue.

Thank you.


 

Categories:
I have the same question (0)
  • Verified answer
    LaurensM Profile Picture
    12,516 Moderator on at

    Hi @Anonymous,

     

    We could try and add a disambiguation operator, because it seems that the second table is simply not being recognized:

    ForAll(
     'cs1_Config_Attestation_DE&OES',
     Patch(
     [@'cs1_Attestation_DE&OE_Data'],
     Defaults([@'cs1_Attestation_DE&OE_Data']),
     { 
     AQDOID_AQID: "ABC"
     }
     );
    )

    In order to further troubleshoot, you will have to take a look at the exact errors that you are receiving via the App Checker. (right of the Share button in the upper right corner - see formula errors)

     

    If this solves your question, would you be so kind as to accept it as a solution & give it a thumbs up.

    Thanks!

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!

Leaderboard > Power Apps

#1
WarrenBelz Profile Picture

WarrenBelz 549 Most Valuable Professional

#2
Kalathiya Profile Picture

Kalathiya 225 Super User 2026 Season 1

#3
Haque Profile Picture

Haque 224

Last 30 days Overall leaderboard