Skip to main content
Community site session details

Community site session details

Session Id : R4YnSEpjJr6ha5NrHm+932
Power Automate - Building Flows
Unanswered

Remove junk row from Excel File outside of table

Like (1) ShareShare
ReportReport
Posted on 10 Jul 2024 13:44:07 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
    44,770 Super User 2025 Season 1 on 10 Jul 2024 at 14:33:41
    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

Paul Stork – Community Spotlight

We are honored to recognize Paul Stork as our July 2025 Community…

Congratulations to the June 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 497 Super User 2025 Season 1

#2
David_MA Profile Picture

David_MA 436 Super User 2025 Season 1

#3
Riyaz_riz11 Profile Picture

Riyaz_riz11 244 Super User 2025 Season 1

Loading complete