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 Automate / Create SP List items f...
Power Automate
Unanswered

Create SP List items from one Excel File and at the same time take a value from another Excel - performance issue

(0) ShareShare
ReportReport
Posted on by 25

Hello,

 

I am new to using Power Automate and I am having a performance problem which may be due to the process architecture used. In general I have a task to upload the data from Excel File to SharePoint List (more less around 500 records). Each record has a code (100, 200, 220...) which specifies which group it belongs to. In the other excel I have these groups and there are about 25 of them, and I need for each item to be assigned an appropriate name from this other excel file based on the group code.

It currently looks as follows:

 

 

----------------------
1. Manually trigger a flow
2. Run script from SharePoint library (to convert data in the excel file to the table)
3. Compose 
4. List rows present in a table from Excel 1
5. For each from point 4
 5.1 Create item at SP List (for Code I use substring(item()?['Department'],0,3))
----------------------
6. Get items from SP List
7. List rows present in a table from Excel 2
8. Apply to each from point 6
 8.1 Get item
 8.2 For each from point 7
 8.2.1 Condition (if Code from SP = Code from Excel 2)
 8.2.2 TRUE = Update item.
----------------------

 

 

for a small dataset of about 50 records the process takes about 8 minutes, part 1 goes smoothly, most time is taken by part 2, but I am worried about how it will load 500 or 1000 data to check. 

I wonder if I should merge step 5.1 Create item and at this stage add loops to check the code with the second file? (But I don't really know how to bite it).

I would appreciate any advice.

Flow.PNG

Thank you!

Categories:
I have the same question (0)
  • Anil_g Profile Picture
    668 Moderator on at

    @maxon 

     

    this is how it can be simplified

     

    Anil_g_0-1718646322761.png

     

    instead of loops I am trying to use filter array and get the value and also avoiding update item and the second loop..Also excel interaction is done only twice

     

    cheers

  • maxon Profile Picture
    25 on at

    Hi, thanks for your answer, may you provide me what you inserted to Filter Array, when I try to do that an additional loop is created for me

  • Anil_g Profile Picture
    668 Moderator on at

    @maxon 

     

    this is what you would do

     

    Left: item()?['KeyOnWhichToFilter'] is equals to Right: items('Apply_to_each')?['ColumnWhereTheInputIsPresent']

     

    Anil_g_0-1718699629139.png

     

    Anil_g_1-1718699657532.png

     

    cheers

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 Automate

#1
Haque Profile Picture

Haque 304

#2
David_MA Profile Picture

David_MA 245 Super User 2026 Season 1

#3
Expiscornovus Profile Picture

Expiscornovus 243 Most Valuable Professional

Last 30 days Overall leaderboard