Skip to main content

Notifications

Community site session details

Community site session details

Session Id :
Power Apps - Power Apps Pro Dev & ISV
Unanswered

ForAll Loops

(1) ShareShare
ReportReport
Posted on by 58
I don't understand how you can develop with being able to backup a table in Dataverse.  I'm editing 500 rows but I can't backup the table first, I would have to restore the entire environment if something goes wrong.   So I'll ask here first if this will work:

ForAll(L3ProcessMain,
Patch(ThisRecord, { Requirements: Concat(Filter(Requirements3S, Left(L3ProcessName,9) = Left(L3Process, 9)),ID,";") }))

L3ProcessName is a column in the Requirements3S table, L3Process is a column under "ThisRecord" in L3ProcessMain
  • JK-25091409-0 Profile Picture
    58 on at
    ForAll Loops
    @NN_Henkel That's exactly what I'm looking for.  Is that like a 'limit' in sql?  How is that coded? I can't Google it.
  • NN_Henkel Profile Picture
    9 on at
    ForAll Loops
    Before I run an "ForAll", I always run "top 1" or "top 10", until I am sure :)
  • ronaldwalcott Profile Picture
    2,268 on at
    ForAll Loops
    You can backup a table by creating a copy of it or exporting the data. 
    In theory an update would work as its only 500 rows, if that is what you are asking.
    If you mean syntactically then no, as you cannot Patch the table being looped.  

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

🌸 Community Spring Festival 2025 Challenge 🌸

WIN Power Platform Community Conference 2025 tickets!

Markus Franz – Community Spotlight

We are honored to recognize Markus Franz as our April 2025 Community…

Kudos to the March Top 10 Community Stars!

Thanks for all your good work in the Community!

Leaderboard

#1
WarrenBelz Profile Picture

WarrenBelz 146,518 Most Valuable Professional

#2
RandyHayes Profile Picture

RandyHayes 76,287 Super User 2024 Season 1

#3
Pstork1 Profile Picture

Pstork1 65,734 Most Valuable Professional

Leaderboard