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 Apps / Deleting Specific Rows...
Power Apps
Unanswered

Deleting Specific Rows in Excel using power automate

(0) ShareShare
ReportReport
Posted on 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:
  • StalinPonnusamy Profile Picture
    Super User 2024 Season 1 on at

    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

     

  • StalinPonnusamy Profile Picture
    Super User 2024 Season 1 on at

    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

  • SH-21101628-0 Profile Picture
    12 on at
     
    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!

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

Season of Sharing Community Challenge Winners!

Congratulations to our community stars!

Kudos to our 2025 Community Spotlight Honorees

Expanding mentorship, skilling, and AI innovation

Leaderboard > Power Apps

#1
11manish Profile Picture

11manish 382 Super User 2026 Season 2

#2
Mohsin Ali Profile Picture

Mohsin Ali 329

#3
WarrenBelz Profile Picture

WarrenBelz 187 Most Valuable Professional

Last 30 days Overall leaderboard