web
You’re offline. This is a read only version of the page.
close
Skip to main content

Notifications

Announcements

Community site session details

Community site session details

Session Id :
Power Platform Community / Forums / Power Apps / How to avoid a Apply t...
Power Apps
Unanswered

How to avoid a Apply to Each when doing a List Rows that only returns a single row

(0) ShareShare
ReportReport
Posted on by 74

I have a flow that is created upon adding a row to a table.  In this, I want to select from 3 separate tables based on the row added to get some preliminary information to then create a new row in another table.  For instance

 

1  When Row Added table A

     2   Get values from table B based on a column from Table A (return 1 row)

     3   Get Values from Table C based on a column in Table A (Many Rows)

             4   Get Values from Table D based on a column in Table C  (Return 1 row)

             5   Get Values from Table E based on a column in Table C (Return 1 row)

             6   Add New Row to Table F based on values from table A, B, C, D and E     <

 

I do want a For Each in Table C to add multiple rows.  But when I save the flow, it adds For Each for all selections BEFORE the Add New Row to Table F.  I'm not getting any rows created.

 

If I take step 2, 4 and 5 out, it works fine.  

I have the same question (0)
  • Verified answer
    AhmedSalih Profile Picture
    6,678 Moderator on at

    @bdherh1, Try enabling the Concurrency control  for the "Apply to each" for step 3.

    AhmedSalih_0-1678210604854.png

     

     

    If my reply helped you, please give a 👍 , & if it solved your issue, please 👍 & Accept it as the Solution to help other community members find it more.


    I am primarily available on weekdays from 6-10 PM CT and 5-10 PM CT on weekends.


    Visit my Blog: www.powerplatformplace.com


     

     

     

  • Fubar Profile Picture
    8,338 Super User 2025 Season 2 on at

    Also depending on your scenario the results from a List records can be used with the Array Filter actions/functions, and these are quicker than For Each. 

     

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

Forum hierarchy changes are complete!

In our never-ending quest to improve we are simplifying the forum hierarchy…

Ajay Kumar Gannamaneni – Community Spotlight

We are honored to recognize Ajay Kumar Gannamaneni as our Community Spotlight for December…

Leaderboard > Power Apps

#1
WarrenBelz Profile Picture

WarrenBelz 796 Most Valuable Professional

#2
Michael E. Gernaey Profile Picture

Michael E. Gernaey 327 Super User 2025 Season 2

#3
Power Platform 1919 Profile Picture

Power Platform 1919 268

Last 30 days Overall leaderboard