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 / power automate with ex...
Power Automate
Suggested Answer

power automate with excel refresh

(1) ShareShare
ReportReport
Posted on by 9
i have 2  dataexcel server,xls monitor.xls coming in mail excel  each with  25 k rows 
my requirement is to compare two excel and find server list which are not part of monitor excel. 
 
i created 
 
1. save server excel in sharepoint .  and run power script to drop & create a table 
2. save  monitor excel in sharepoint .  and run power script to drop & create a table  [as import via PA  is slow and limit ]
3. have exceptions file with exception sheet to exclude in reporting 
4. copy server list and monitor list sheets into exception file  and compare and report extention.
 
while running. as there is drop table . flow  have hardcoded table into id and throws table not exist . how to over come this issue 
 
Categories:
I have the same question (0)
  • Suggested answer
    11manish Profile Picture
    3,849 Super User 2026 Season 2 on at
    The root cause is that Power Automate caches the Excel table metadata. When your Office Script deletes (drops) the table and recreates it, the newly created table gets a new internal Table ID, while the Excel actions in your flow still reference the old ID. As a result, subsequent actions fail with "Table not found" or "Table does not exist."
    For your scenario (two Excel files with ~25,000 rows each), do not drop and recreate Excel tables. Keep the tables permanent and only clear, repopulate, and resize them. If the comparison logic becomes more complex or performance is a concern, move the entire comparison into an Office Script, letting Power Automate orchestrate the process rather than process the data itself. This is the most scalable and maintainable solution. 
  • SR-13011330-0 Profile Picture
    9 on at
    thank you for quick response . i moved entire action of creating table, comparison all into office scripts as i got performance.and "in use" errors . drop and recreate step also due to that . let me try now 
  • Suggested answer
    Valantis Profile Picture
    7,006 Super User 2026 Season 2 on at
     
    Moving the entire comparison into a single Office Script is the right call for this scenario. At 25k rows each, doing everything inside the script avoids the Power Automate connector overhead, the table ID caching issue, and the "in use" conflicts that come from multiple connector calls hitting the same file.
    The script handles the data natively in Excel's memory which is significantly faster. Let us know how it goes!
     
      Best regards,

    Valantis   ✅ If this helped solve your issue, please Accept as Solution so others can find it quickly.

    ❤️ If it didn’t fully solve it but was still useful, please click “Yes” on “Was this reply helpful?” or leave a Like :).

    🏷️ For follow-ups  @Valantis.

    📝 https://valantisond365.com/ 💼 LinkedIn ▶️ YouTube

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 Automate

#1
David_MA Profile Picture

David_MA 306 Super User 2026 Season 2

#2
11manish Profile Picture

11manish 169 Super User 2026 Season 2

#3
Haque Profile Picture

Haque 131 Super User 2026 Season 2

Last 30 days Overall leaderboard