Skip to main content

Notifications

Community site session details

Community site session details

Session Id : 5v/lfQ7vNk/oGqh/T6SImw
Power Apps - Building Power Apps
Answered

Delete row from excel table using power automate

Like (3) ShareShare
ReportReport
Posted on 11 Apr 2025 20:10:32 by 6
Hello,
 
I have a flow that performs the following:
  • User inputs via MS Forms
  • Forms feeds the data into Power Automate
  • Data is added into a new row within an excel table by Power Automate
  • Then other stuff is performed by Power Automate
Once all of Power Automate tasks are performed, i'd like to have the row created in the initial table in excel to be deleted (which should always be row 2), but i'm stumped on how to achieve this. Can anyone help by chance?
 
 
Categories:
  • Verified answer
    stampcoin Profile Picture
    761 on 12 Apr 2025 at 10:02:32
    Delete row from excel table using power automate
    Not sure if you are stuck on the last step or not. I assume you are struggling on your last step...
    According the info you provided, you have an Excel file , within it you defined a table for temporary saving data from Form.
    To delete the row , I suggest two option:
    1.  Pass the form response id ( or other field can make the form record unique) to the deletion action, then use Delete a row in the action.
    2.  If you have quite many action within the flow, Use Get that row as the action,make sure the row is there. then delete it. to make sure the row is there.
    see my screen shot of the deletion. 
    if you need more help, please feel free.
  • ronaldwalcott Profile Picture
    3,569 on 11 Apr 2025 at 21:57:15
    Delete row from excel table using power automate
    Just a comment.
     
    You should rethink your design if you are using a specific row in an Excel spreadsheet as some type of temporary data storage location.
  • Verified answer
    Michael E. Gernaey Profile Picture
    41,254 Super User 2025 Season 1 on 11 Apr 2025 at 21:48:16
    Delete row from excel table using power automate
     
    So here are the steps, but also a recommended step
     
    Since you just added a row, the cache may not be updated yet in the file.
     
    Step 1: Create your row as you did
     
     
    2.  Add a Delay action first, to pause between 3-10 minutes, so the file updates and will unlock for the delete
     
     
    3. Do a Delete Row
     
    Since the Add a row has the Key you need to find the row, you don't need to use List Items etc, just grab it like I am. in my example
     
    If this helps you please Mark as such and Maybe a like :)

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

Understanding Microsoft Agents - Introductory Session

Confused about how agents work across the Microsoft ecosystem? Register today!

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,668 Most Valuable Professional

#2
RandyHayes Profile Picture

RandyHayes 76,287 Super User 2024 Season 1

#3
Pstork1 Profile Picture

Pstork1 66,004 Most Valuable Professional

Leaderboard
Loading started