Skip to main content

Notifications

Community site session details

Community site session details

Session Id :
Power Automate - Building Flows
Unanswered

Remove junk row from Excel File outside of table

(1) ShareShare
ReportReport
Posted on by

Hello, I am building a fairly simple flow that grabs an Excel file from an email attachment, saves it to OneDrive, creates a dynamic table, and uploads the data to Sharepoint. Unfortunately the create table trigger does not capture the last row of the data, which is mostly a junk row (see attached image), which is causing the subsequent Sharepoint insert to fail unless I manually delete it.

 

I am uncertain how to use the Delete Rows trigger to delete this junk row as it's outside of a table. Any thoughts? Any help is super appreciated!

 

 

  • Michael E. Gernaey Profile Picture
    43,407 Super User 2025 Season 1 on at
    Re: Remove junk row from Excel File outside of table

    Hi @nmeye01 

     

    Couple thoughts

     

    1. Create a Script inside the Excel (if you can use this as a template for what's coming in)

     

    2. If you cannot get folks to use the Template, ,then create a template file and store it where-ever the data you get is and then copy the rows into the cleaned up copy and delete or archive the original

     

    3. Add a table around that one row, delete the row, delete the table.

     


    If I have helped you, I would really appreciate if you please Mark my answer as Resolved/Answered, and give it a thumbs up, so it can help others

    Cheers

    Thank You
    Michael Gernaey MCT | MCSE | MCP | Self-Contractor| Ex-Microsoft
    https://gernaeysoftware.com
    LinkedIn: https://www.linkedin.com/in/michaelgernaey

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

Michael Gernaey – Community Spotlight

We are honored to recognize Michael Gernaey as our June 2025 Community…

Congratulations to the May Top 10 Community Leaders!

These are the community rock stars!

Announcing the Engage with the Community forum!

This forum is your space to connect, share, and grow!

Leaderboard > Power Automate

#1
Michael E. Gernaey Profile Picture

Michael E. Gernaey 566 Super User 2025 Season 1

#2
David_MA Profile Picture

David_MA 516 Super User 2025 Season 1

#3
stampcoin Profile Picture

stampcoin 492