web
You’re offline. This is a read only version of the page.
close
Skip to main content
Community site session details

Community site session details

Session Id : N8nH8mWvaf1IHf8R2JJ0OG
Power Apps - Building Power Apps
Unanswered

Deleting Specific Rows in Excel using power automate

Like (0) ShareShare
ReportReport
Posted on 23 Oct 2021 11:58:36 by 78

I have an flow that allows me to add rows to a table and it works great with lots of funky formulas in excel being applied once the data is there. The logic I use is:

 

RMAXXXXXXXX.Run(ThisItem.Company, ThisItem.Company, ThisItem.RMAAutoNo, ThisItem.Product, ThisItem.'Serial #', Today(), ThisItem.'Product Description')

 

However, at the point I run this flow again I want to first clear all the rows APART FROM a blank row which contains the funky formulas. 

 

So my question is: How do I delete those rows in a table in Excel that are not blank using my flow as my blank row contains my formulas. I have tried putting my formula in variables in the flow but Excel doesn't like this.

 

Be grateful for any help you can give.

 

 

Simon

Categories:
  • SH-21101628-0 Profile Picture
    12 on 11 Nov 2024 at 14:26:16
    Deleting Specific Rows in Excel using power automate
     
    I've tried this with my flow and the flow succeeds, but the file is not clean.
     
    What detail am I missing?
     
    Caveat - my table starts @ row 6 (headers) and I want to delete any rows after row 7
     
    Thank you in advance!
  • StalinPonnusamy Profile Picture
    Super User 2024 Season 1 on 26 Oct 2021 at 01:04:26
    Re: Deleting Specific Rows in Excel using power automate

    Hi @SumoTechSimon 


    Please let us know if anything needs on your post. We can help with this.

    Please mark the post as Solved If I have answered your question.
    Please give it a Thumbs Up if you find the suggestion helpful

    Thanks,
    Stalin - Learn To Illuminate

  • StalinPonnusamy Profile Picture
    Super User 2024 Season 1 on 23 Oct 2021 at 15:17:19
    Re: Deleting Specific Rows in Excel using power automate

    Hi @SumoTechSimon 

     

    Overall Steps

    StalinPonnusamy_1-1635002024770.png

     

    Step by step (Focus)

    StalinPonnusamy_2-1635002051606.png

     

    StalinPonnusamy_3-1635002099679.png

     

    length(items('Apply_to_each')?['TASK_ID'])

     

     

     

    StalinPonnusamy_4-1635002122167.png

     

    Result (Empty rows not deleted)

    StalinPonnusamy_5-1635002212632.png

     

    StalinPonnusamy_0-1635001988850.png


    Thanks,
    Stalin - Learn To Illuminate

     

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

Announcing our 2025 Season 2 Super Users!

A new season of Super Users has arrived, and we are so grateful for…

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!

Leaderboard > Power Apps

#1
WarrenBelz Profile Picture

WarrenBelz 791 Most Valuable Professional

#2
MS.Ragavendar Profile Picture

MS.Ragavendar 410 Super User 2025 Season 2

#3
mmbr1606 Profile Picture

mmbr1606 275 Super User 2025 Season 2

Loading complete