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 / Revisiting: "How to de...
Power Automate
Unanswered

Revisiting: "How to delete all rows excel table using power automate?"

(0) ShareShare
ReportReport
Posted on by
 
So I know there are tons of tutorials about how to delete all rows in excel in Power Automate.  I have been trying to follow those tutorials to the best of my ability:
However in following these tutorials I realized that a logical contradiction (which my core question).  Lets call the Table - Variable A.   All the tutorials I have seen use "List rows present in Table", (Variable B) then you take the value from one of the rows .    However, what if the values or rows are not unique ?   What I found is in practice is when they are not unique the "apply for each" loop will hit an error where there are not rows in the table anymore (all deleted), but there are still rows in the list.  In other words an error occurs because Variable A (the table) is empty, but list of values (Variable B) is not.   
When this error occurs instead of then saving the changes, I have found at my workplace that sharepoint immediately then undoes the power automate deletion step.   So in practice no row are deleted.   Now while it make make sense to make a unique row column, if feel like long term this is goes against my organization best practices.
 
So is there a better way in excel to delete all rows in excel using power automate?
 
Thank you for taking the time in advance to answer my question,
 
mlane
Categories:
I have the same question (0)

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
David_MA Profile Picture

David_MA 251 Super User 2026 Season 1

#2
Haque Profile Picture

Haque 239

#3
Expiscornovus Profile Picture

Expiscornovus 220 Most Valuable Professional

Last 30 days Overall leaderboard